You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 as a URL. This line of code seems to be the problem:
I am having the same issue as @willcrichton and decided to do some more digging and believe that this is not the issue.
You can run vite build --debug and it will print out the config with the list of plugins it is using and is the same array of values used in the line @willcrichton shows in the original post.
Not sure what the issue is, but my .wasm file made using wasm-pack --target web is also being inlined as a base64 string and I can't figure out what in Vite is doing it. It happens even without this plugin.
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 as a URL. This line of code seems to be the problem:vite-plugin-wasm/src/index.ts
Line 16 in f9718b9
I guess the config plugins includes vitest even when I'm not using it?
The text was updated successfully, but these errors were encountered: