Closed bitlands closed 1 year ago
Could you upload a simple project that could reproduce this issue?
Yes: https://github.com/bitlands/wasm-import
When you run yarn run build I get the same error
@Menci Could you already take a look?
I just found in preview it works. I think there're something different with Nuxt-Vite's configuration.
It seems that vendor packages in node_modules
are skipped processing by Nuxt-Vite. I don't know which configuration did this. Maybe you should open an issue at Nuxt.
I've opened an issue here: https://github.com/nuxt/nuxt.js/issues/14620
It's resolved now.
I get the following error when I'm building my Nuxt 3 project with
yarn build
(nuxt build) usingvite-plugin-wasm
.My vite.config.ts looks like this:
This is the wasm lib I'm using. When I comment the import line the build runs without any problems.
Unfortunately, I'm stuck with this issue. Any help is appreciated.