Kickstart your Rust, WebAssembly, and Webpack project!
This template is designed for creating monorepo-style Web applications with Rust-generated WebAssembly and Webpack without publishing your wasm to NPM.
Be sure to check out other
wasm-pack tutorials online for other
templates and usages of
🚴 Using This Template
You can use
npm init to clone this template:
npm init rust-webpack my-app
🔋 Batteries Included
This template comes pre-configured with all the boilerplate for compiling Rust to WebAssembly and hooking into a Webpack build pipeline.
npm run start-- Serve the project locally for development at
npm run build-- Bundle the project (in production mode).