【遇到问题】打包体积优化 #133
subframe7536
started this conversation in
想法 Ideas
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
主要还是不太熟悉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
是网页端还是客户端
客户端
当前系统环境
win11
当前 Node.js 及 npm 版本
v18.16.0 /v9.6.7
当前版本
v2.0.1
具体信息
app.asar
解压后发现打包了很多多余的依赖建议:
native
模块放入dependencies
,其余的都放入devDependencies
中electron-builder.yml
,只将out
放入files
Beta Was this translation helpful? Give feedback.
All reactions