将vite子应用正常打包后在应用渲染异常,开发环境时一切正常
MyDataHouse opened this issue · comments
Describe the bug
vite配置
在开发环境时一切正常,打包上线测试时出现问题,主应用沙箱关闭状态
vite依赖
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
- 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.