Reduce size of built js dependency
Issue #1197
open
Using v2.41.2 requires the users to download 8MB of already minified dependency.
I couldn’t find clear documentation about how to reduce that size, although the library is clearly organized in modules & plugins.
How to npm-build a lighter version of masterportal.js
, where not everything is included but only the selected modules/plugins/tools that are actually necessary for a specific portal?
Comments (2)
-
-
- changed status to open
- Log in to comment
Hello Igor,
thank you for your input. There is at least already the possibility to exclude addons during “npm run build portals”.
But we have the loading optimization issue on our to do list. Because we also want to update webpack in near future we will work on this.
Kind regards