Menci / vite-plugin-wasm

Add WebAssembly ESM integration (aka. Webpack's `asyncWebAssembly`) to Vite and support `wasm-pack` generated modules.
MIT License
281 stars 16 forks source link

wasm-pack WASM file. failing #17

Closed greenpdx closed 1 year ago

greenpdx commented 1 year ago

I am trying to use wasm-pack to generate wasm file. reading the file in load fails. What format does the parser user, how do you specify the wasm file. I want to use vite to load the wasm file.