Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report/Feeback] #241

Open
v7blackIn opened this issue Apr 30, 2024 · 1 comment
Open

[Bug Report/Feeback] #241

v7blackIn opened this issue Apr 30, 2024 · 1 comment

Comments

@v7blackIn
Copy link

问题描述
简明扼要的描述你的问题

npm run build遇到error: "statSync" is not exported by "__vite-browser-external", imported by "node_modules/pkg-types/dist/index.mjs".

.fes.prod.js

viteOption: {
optimizeDeps: {
exclude: externals,
},
plugins: [UnoCSS(), commonjsExternals({
externals,
})],
},

环境描述/版本信息 (请完成如下信息)

  • OS: [e.g. Mac/Windows] Windows
  • Browser [e.g. chrome, safari] chrome
  • Node 18.7.1
  • fes -V
  • 项目package.json

如何复现
复现步骤
1.
2.
3.
4.

预期结果
简明扼要的说明你期待的结果

截图
如果可以的话,附上截图

其它补充内容
任何和这个问题有关的额外内容

@1zumii
Copy link
Collaborator

1zumii commented May 24, 2024

请提供完整的 .fes.prod.js 或最小的可复现 demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants