All Projects → rustwasm → Rust Webpack Template

rustwasm / Rust Webpack Template

Licence: other
Kickstart your Rust, WebAssembly, and Webpack project!

Programming Languages

javascript
184084 projects - #8 most used programming language

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].