Published frontend assets are not minified
The JavaScript assets are not minified, they take 63M compared to 17M for JupyterLab.
Hi there, my team and i would like to work on this issue if that is alright with you?
Hi @nevin-lim, thanks for helping out with this, I don't think anyone has started working on it yet.
Hi @davidbrochart , We're the team working with @nevin-lim and we've identified the root cause: app/webpack.prod.config.js has minimize: false on line 18, which disables minification even in production builds.
Proposed fix: Change minimize: false to minimize: true Ensure production mode is properly set Consider removing .map files from distribution
Question: Was minification intentionally disabled for a specific reason, or can we submit a PR to enable it? We're ready to implement and test this fix.
Thanks! Harkirat and Chad
Please feel welcome to open a PR!
The JavaScript assets are not minified, they take 63M compared to 17M for JupyterLab.
@davidbrochart Could you share where you see this difference in size between the notebook and jupyterlab assets?