web-infra-dev / garfish

A powerful micro front-end framework 🚚

Home Page:https://www.garfishjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

浏览器开启【跟踪防护】严格模式后,出现 Uncaught ReferenceError: WebAssembly is not defined

zhoushaw opened this issue · comments

Describe the bug

  • es-module-lexer 在默认情况下直接调用了 WebAssembly API,但是在edge 浏览器开启严格防护模式后将会造成异常,因此需要改按需调用 es-module-lexer 的 init 方法
    img_v2_56ca62fe-ea71-4b1a-945d-cf8bc45c21cg
    image
    img_v2_135915d3-5b0a-4560-b9cb-d8df547142ag

Reproduction

none

Used Package Manager

pnpm

System Info

none

Validations