浏览器开启【跟踪防护】严格模式后,出现 Uncaught ReferenceError: WebAssembly is not defined
zhoushaw opened this issue · comments
Zhou xiao commented
Describe the bug
es-module-lexer
在默认情况下直接调用了 WebAssembly API,但是在edge 浏览器开启严格防护模式后将会造成异常,因此需要改按需调用es-module-lexer
的 init 方法
Reproduction
none
Used Package Manager
pnpm
System Info
none
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Garfish issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.