web-infra-dev / garfish

A powerful micro front-end framework 🚚

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

Repository from Github https://github.comweb-infra-dev/garfishRepository from Github https://github.comweb-infra-dev/garfish

将vite子应用正常打包后在应用渲染异常,开发环境时一切正常

MyDataHouse opened this issue · comments

Describe the bug

image

image

vite配置

image

在开发环境时一切正常,打包上线测试时出现问题,主应用沙箱关闭状态

vite依赖

image

Reproduction

https://github.com/MyDataHouse/sdk.git

Used Package Manager

pnpm

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11260H @ 2.60GHz
    Memory: 3.85 GB / 15.84 GB
  Binaries:
    Node: 18.16.1 - D:\software\nodejs\node.EXE
    Yarn: 1.22.19 - D:\software\nodejs\node_global\yarn.CMD
    npm: 9.8.0 - D:\software\nodejs\npm.CMD
    pnpm: 8.6.7 - D:\software\nodejs\node_global\pnpm.CMD
  Browsers:
    Edge: Spartan (44.22621.1992.0), Chromium (114.0.1823.82)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @garfish/bridge-vue-v3: ^1.16.2 => 1.16.2

Validations