Menci/vite-plugin-wasm

Wrong export signature (`default`)

schickling opened this issue · 2 comments

Given you're using a default export in your index.ts in combination with "module": "CommonJS", in your tsconfig.json there are currently "two levels" of default exports.

My current workaround:

CleanShot 2022-05-26 at 17 35 37

Menci commented

Oh, it's the same problem as Menci/vite-plugin-top-level-await#2. I'll fix it later tomorrow.

Menci commented

Fixed in 567eaa0.