{"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"],"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":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-wasm-pack/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}