rust-web-bootstrapper

Bootstrap your Rust, WebAssembly, and Webpack project!

APACHE-2.0 License

Downloads
2
Stars
0

Bootstrap your Rust, WebAssembly and Webpack projects!

Forked from rust-webpack-template due to the original project being abandoned.

About

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

Usage

You can use this project bootstrapper with npm init:

npm init rust-web-project my-app

For now you can use the original project's documentation to learn about the generated project's layout.

🔋 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.