Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
Keep the CommonJS format for now.
the ESModule format reports an error:
SyntaxError: The requested module '../dist/index.js' does not provide an export named 'default'
  • Loading branch information
pfdgithub authored Dec 20, 2024
1 parent f01f77d commit 03c78c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "vite-plugin-wasm",
"version": "3.4.0",
"description": "Add WebAssembly ESM integration (aka. Webpack's `asyncWebAssembly`) to Vite and support `wasm-pack` generated modules.",
"type": "module",
"types": "./exports/require.d.cts",
"main": "./exports/require.cjs",
"module": "./exports/import.mjs",
Expand Down

0 comments on commit 03c78c3

Please sign in to comment.