Installation
This guide will walk you through installing rust-wasmpack-loader.
Prerequisitesβ
tip
Need help with prerequisites? Check our Prerequisites Guide for detailed installation instructions.
Package Installationβ
Version Compatibilityβ
rust-wasmpack-loader | Webpack-node | Webpack-web | Bun | Node.js | Rust |
---|---|---|---|---|---|
3.x.x | ^5.0.0 | ^5.0.0 | 1.x.x | >=20.0.0 | >=1.85.1 |
2.x.x | ^5.0.0 | ^5.0.0 | β | >=16.0.0 | >=1.30.0 |
1.x.x | ^5.0.0 | β | β | >=16.0.0 | >=1.30.0 |
0.x.x | β οΈ | β | β | >=14.0.0 | >=1.30.0 |
Install as Dependencyβ
For production use, install rust-wasmpack-loader as a regular dependency:
- npm
- yarn
- bun
npm install rust-wasmpack-loader
# or install as dev dependency
npm install --save-dev rust-wasmpack-loader
yarn add rust-wasmpack-loader
# or install as dev dependency
yarn add --dev rust-wasmpack-loader
bun add rust-wasmpack-loader
# or install as dev dependency
bun add -d rust-wasmpack-loader
Next Stepsβ
Now that you have rust-wasmpack-loader installed:
- π Quick Start - Create your first Rust-WASM project
- π οΈ Examples - Explore working examples
- π API Reference - Learn about available options and configurations
info
Need help? Join our community discussions or report issues on GitHub.