Generating static assets is too slow because of obsolete Webpack version
We did a brief study on the Webpack config where BTR-5 reported that uglify plugin is supposed to be used twice and the size of the output is same with or without the plugin.
On further investigation it was found the UglifyJsPlugin is just called on prod build and this plugin is not solely responsible for slowing down the build.
The proposal was also to update devtool:eval which can be a faster devtool equivalent. We also arrive at the understanding that the webpack config used and the version of webpack that is being used is very obsolete. So we should invest time in upgrading webpack and work on the webpack config to support the newer version.
https://openedx.atlassian.net/browse/BTR-5?focusedCommentId=507315
https://openedx.atlassian.net/browse/BTR-60
@BbrSofiane ready to take a ticket
@regisb Following our meetings yesterday, the detailed explanation about optimizing the install process which I mentioned can be found here openedx/frontend-wg/issues/25.
Also given now we have two issues (this and the one refereed above) with overlapping goals, I wonder would it be better to move the discussion there may be?
Hi @ghassanmas!! , following the PR's related with this issue seems that almost all the tasks to get a better performance were done.Do we need something else to continue and close this issue?
Closing as stale.