{"library":"vite-plugin-wasm-pack","type":"library","category":null,"description":"Vite plugin (v0.1.12) that integrates Rust WebAssembly crates built with wasm-pack into Vite projects. It automatically serves local wasm-pack crates and supports npm-published wasm-pack packages (target web). The plugin wires up Vite's dev server and build pipeline to handle .wasm files and JavaScript glue code. It requires wasm-pack to be installed separately and the crate must be built beforehand. Compared to alternatives like vite-plugin-wasm, this plugin is specifically designed for wasm-pack output and offers simpler configuration for local crates.","language":"javascript","status":"active","version":"0.1.12","tags":["javascript","wasm-pack","wasm-bindgen","vite-plugin","webassembly","wasm","rust","vite","cargo","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-wasm-pack","imports":["import wasmPack from 'vite-plugin-wasm-pack'","import wasmPack from 'vite-plugin-wasm-pack';\nimport { defineConfig } from 'vite';\nexport default defineConfig({ plugins: [wasmPack('./crate')] })","import wasmPack from 'vite-plugin-wasm-pack'"]},{"cmd":"yarn add vite-plugin-wasm-pack","imports":[]},{"cmd":"pnpm add vite-plugin-wasm-pack","imports":[]}],"homepage":null,"github":"https://github.com/nshen/vite-plugin-wasm-pack","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-wasm-pack","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}