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

配置了main.build.rollupOptions.external选项资源依然被打包进了asar中 #621

Open
4 tasks done
guodf opened this issue Sep 24, 2024 · 0 comments
Open
4 tasks done

Comments

@guodf
Copy link

guodf commented Sep 24, 2024

Describe the bug

image
如上图,我配置了外部包,但是打包时候还是被打包进了asar中,有没有办法实现asar和app.asar.unpacked中避免存在重复的文件,减少整体大小

Electron-Vite Version

v32.1.2

Electron Version

2.3.0

Vite Version

5.3.1

Validations

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

1 participant