vite-plugin-wasm icon indicating copy to clipboard operation
vite-plugin-wasm copied to clipboard

Add WebAssembly ESM integration (aka. Webpack's `asyncWebAssembly`) to Vite and support `wasm-pack` generated modules.

Results 9 vite-plugin-wasm issues
Sort by recently updated
recently updated
newest added

Hey there, I'm pretty new to wasm, and I don't know if this is an issue with vite-plugin-wasm or something to do with my setup, but this problem has been...

I used this plugin to import the `@dimforge/rapier3d` physics engine, which uses WebAssembly internally. Everything works as expected when I run `npm run dev`. However, `npm run build` produces a...

I have a Vite app, and I have Vitest installed. When I run `vite build`, my Wasm file is bundled as base64, even though I want it to be bundled...

I get the following error: This require call is not allowed because the imported file "vite-plugin-wasm-namespace:/node_modules/.pnpm/@[email protected]/node_modules/@foxglove/wasm-bz2/wasm/module.wasm" contains a top-level await Is there any way to enable top-level await support for...

Thanks for this package! I'm on the latest version, 3.3.0, but I'm getting the `Unknown file extension ".wasm" for ` error. This code is running in Vitest, maybe that has...

When attempting to load a WASM that was written in Golang and compiled using GOARCH=wasm GOOS=js go build -o mian.wasm the resulting vite app does not load and has this...

Encountered a problem when use module federation. fetch wasm failed coz wasm locates different to window.location.origin, so here will get running env before fetch

Chrome has support for a feature called SharedWorkers. This allows you to run a process in the background shared between multiple tabs with the same origin. It's essentially a small...

need more info

I was trying to uderstand where vite-plugin-wasm is supported. The testing environment is here: [https://github.com/Jerboas86/vpw-test-env](https://github.com/Jerboas86/vpw-test-env) I tried different frameworks: - svelte (CSR) - sveltekit (SSR) In different scopes: - Window...