depending on the tool you choose, they can help make deployment and packaging much less of a
binary in a browser.
A tool practically made for building Yew apps.
It can build any
wasm-bindgen based app and its design is inspired by rollup.js.
It can bundle assets for your app and even ships with a Sass compiler.
All of our examples are built with Trunk.
A CLI tool developed by the Rust / Wasm Working Group for packaging up WebAssembly. Best used
together with the
wasm-pack-plugin for Webpack.
The primary purpose of
Because of this, it can only build libraries and doesn’t provide useful tools like a development server or automatic rebuilds.
|Project Status||Actively maintained||Actively maintained by the Rust / Wasm Working Group|
|Dev Experience||Just works! Batteries included, no external dependencies needed.||Bare-bones. You’ll need to write some scripts to streamline the experience or use the webpack plugin.|
|Local Server||Supported||Only with webpack plugin|
|Auto rebuild on local changes||Supported||Only with webpack plugin|
|Asset handling||Supported||Only with webpack plugin|
|Headless Browser Testing||In Progress||Supported|
|Example Usage||Sample app||Starter template|