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
Related to #133 which is focussed on the size of the built app installer.
This issue is focussed on the JS bundle used in the electron renderer. The size of the JavaScript that is loaded in the front-end affects the initial load and parse time as well as the size of the app.
Currently the renderer JS code is not bundled - it is required at runtime from node_modules. Changing the Webpack config to bundle all files results in a bundle that is 11.17Mb. This is already an improvement on unbundled code. The main size hogs are:
The biggest size hog is iD Editor. A lot of that is probably multi-lingual support for presets and background map layer info + all the OSM icon sets.
There are numerous smaller modules like iconv-lite and different versions of core-js that take up about 150kb each that could also be trimmed if needed.
The text was updated successfully, but these errors were encountered:
Related to #133 which is focussed on the size of the built app installer.
This issue is focussed on the JS bundle used in the electron renderer. The size of the JavaScript that is loaded in the front-end affects the initial load and parse time as well as the size of the app.
Currently the renderer JS code is not bundled - it is required at runtime from
node_modules
. Changing the Webpack config to bundle all files results in a bundle that is 11.17Mb. This is already an improvement on unbundled code. The main size hogs are:The biggest size hog is iD Editor. A lot of that is probably multi-lingual support for presets and background map layer info + all the OSM icon sets.
There are numerous smaller modules like iconv-lite and different versions of core-js that take up about 150kb each that could also be trimmed if needed.
The text was updated successfully, but these errors were encountered: