Skip to main content

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-loaderWebpack-nodeWebpack-webBunNode.jsRust
3.x.x^5.0.0^5.0.01.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 install rust-wasmpack-loader
# or install as dev dependency
npm install --save-dev 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.