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
External js files (import by main entry file) built without obfuscation or minify #86
Comments
All files will be built into one file into |
Thanks for the quick reply. I try to write efficient code by splitting multiple actions into each file. So is there any other way to minify multiple files? I'd like to know how, if possible. Thanks, |
Thanks for the clear explanation! That is a good news. I will wait until it is officially supported, and i will check it as soon as it is supported. You can close this issue now or after supported. |
Hi here! 👋 |
My project has the following directory structure:
If i build the package using
vite-plugin-electron
, the build succeeds, but when i import and use an external js file like thesrc/main/utils/test.js
file, the file is built without minify or code obfuscation. Themain/utils/test.js
file in the build output path is the same as the existing file.Is there a way to obfuscate (or minify) external js files other than the main entry file? Or is this a bug?
here is my
vite.config.js
:Thank you.
The text was updated successfully, but these errors were encountered: