🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

create-rust-webpack

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
r

create-rust-webpack

0.3.0
latest
70

Supply Chain Security

100

Vulnerability

82

Quality

78

Maintenance

100

License

Version published
Weekly downloads
19
111.11%
Maintainers
2
Weekly downloads
 
Created
Issues
31

rust-webpack-template

Kickstart your Rust, WebAssembly, and Webpack project!

Build Status

Tutorial | Chat

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

This template is designed for creating monorepo-style Web applications with Rust-generated WebAssembly and Webpack without publishing your wasm to NPM.

📚 Read this template's tutorial! 📚

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Using This Template

You can use npm init to clone this template:

npm init rust-webpack my-app

Afterwards check out the full documentation for exploring it.

🔋 Batteries Included

This template comes pre-configured with all the boilerplate for compiling Rust to WebAssembly and hooking into a Webpack build pipeline.

  • npm start -- Serve the project locally for development at http://localhost:8080. It auto-reloads when you make any changes.

  • npm run build -- Bundle the project (in production mode).

  • npm test -- Run the project's unit tests.

FAQs

Package last updated on 26 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts