pack: change the electron-builder setting to allow dynamic values to be added and move the folder location

This commit is contained in:
leejooy96 committed 2023-09-26 10:07:12 +09:00
1 parent 1fca9b3a81
commit f22dbcf775
9 files changed
+1115 -715

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ $ npm run build
## Reduce bundle size by excluding development files
You can exclude files you don't need at build time by adding a file pattern to the files property of `electron-builder.json5`. This will save bundle capacity.
You can exclude files you don't need at build time by adding a file pattern to the files property of `buildAssets/builder/config.ts`. This will save bundle capacity.
Below is an unnecessary `node_modules` file pattern that can further save bundles. Depending on the project, using the rules below may cause problems, so please review it before using.