Details
-
Task
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
Description
Since the upgrade to Webpack 4, overall build time has increased. This may be in part to due to the mode configuration of Webpack 4 which includes several optimizations enabled by default. There may be some settings worth tuning.
https://medium.com/webpack/webpack-4-mode-and-optimization-5423a6bc597a
Along with the Webpack 4 upgrade, a new favicons-webpack-plugin was introduced to retire some logic for branding that had been implemented in a way that was against plugin recommendations for Webpack 4. This new plugin provides the additional feature of generating icons for multiple device types. As observed by cherewaty, this process may also be reducing build performance.
We can provide separate settings for dev builds so as not to process icons, or perhaps eliminate the branding plugin from dev builds entirely.
TestRail: Results
Attachments
Issue Links
- blocks
-
STCOR-176 Parallelise Webpack builds to reduce bundle generation time
-
- Open
-
- relates to
-
STCLI-74 Review use of CLI for stripes-components test
-
- Closed
-
-
FOLIO-1422 Change language setting causes wrong UI labels
-
- Closed
-