[Bug]: import "binaryen"
throws error "'import.meta' cannot be used outside of module code" when minimize is on
#6513
Labels
bug
Something isn't working
System Info
Details
Code
Configuration
Got
Expected
There's
type:"module"
inbinaryen/package.json
so it should be considered as module codeMore
This only happens when minimize is on
Reproduce link
https://github.com/xc2/rspack-repro-binaryen
Reproduce Steps
pnpm i pnpm build:rspack | less
The text was updated successfully, but these errors were encountered: