You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrade to meteor 1.3 (that uses a lot of npm modules now) my packaged app has grown to almost 400 mb (comparing to 200 on meteor 1.2). File count is up to 27,000 (twenty sevent bloody thousands) comparing to ~7000 on meteor 1.2, some of them exceed windows file path limit.
Well, it's kind a frustrating now to wait for 20 minutes (twenty!) to package app.
How can I reduce file count?
Possible solutions:
package parts of my app (at least node_modules I think) to asar archives
delete debugging information (*.map, css-parts, sass, etc)
delete npm_modules build information (I believe some node packages come disassebled and being compiled in meteor build stage)
prebuild electron part of app and replace only meteor part of application during build
PS: from electron-packager readme:
Be careful not to include node_modules you don't want into your final app. electron-packager, electron-prebuilt and .git will be ignored by default. You can use --ignore to ignore files and folders via a regular expression. For example, --ignore=node_modules/package-to-ignore or --ignore="node_modules/(some-package[0-9]*|dev-dependency)".
The text was updated successfully, but these errors were encountered:
Hi!
Since upgrade to meteor 1.3 (that uses a lot of npm modules now) my packaged app has grown to almost 400 mb (comparing to 200 on meteor 1.2). File count is up to 27,000 (twenty sevent bloody thousands) comparing to ~7000 on meteor 1.2, some of them exceed windows file path limit.
Well, it's kind a frustrating now to wait for 20 minutes (twenty!) to package app.
How can I reduce file count?
Possible solutions:
PS: from electron-packager readme:
The text was updated successfully, but these errors were encountered: