Uploaded image for project: 'stripes-core'
  1. stripes-core
  2. STCOR-232

Review and improve Webpack 4 performance

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.11.0
    • 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

            Activity

              People

                mattj Matt Jones
                mattj Matt Jones
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases