Skip to content
Snippets Groups Projects

Upgrade webpack to v4 and babel to v7

Merged eonwarped requested to merge upgradeWebpack into develop

Upgrade webpack and Babel.

This results in dramatically smaller bundles:

Before:

                               Asset     Size  Chunks                    Chunk Names
d136727b42a9d217c2c9b77f26023f92.png   437 kB          [emitted]  [big]
           0.d669d74d2b380c453c4b.js   906 kB       0  [emitted]  [big]  IntlBundle
         app.d669d74d2b380c453c4b.js  11.3 MB       1  [emitted]  [big]  app
      vendor.d669d74d2b380c453c4b.js  11.7 MB       2  [emitted]  [big]  vendor
        app-7f623d524f2f5202d15d.css   324 kB       1  [emitted]  [big]  app

After:

                               Asset      Size  Chunks                                Chunk Names
           2.36ecc82c5d9883af7111.js   224 KiB       2  [emitted] [immutable]         vendors~IntlBundle
624d8a6b5ffb5fca686e7236c7e03595.png   426 KiB          [emitted] [immutable]  [big]
         app.36ecc82c5d9883af7111.js   3.5 MiB       0  [emitted] [immutable]  [big]  app
                             app.css   235 KiB       0  [emitted]                     app
      vendor.36ecc82c5d9883af7111.js  1.53 MiB       1  [emitted] [immutable]  [big]  vendor

This should be tested thoroughly of course... it seems various flows behave slightly differently. I believe I have a working local run of the docker script though.

Merge request reports

Checking pipeline status.

Approval is optional

Merged by Dan NotesteinDan Notestein 4 years ago (Nov 9, 2020 3:13pm UTC)

Merge details

  • Changes merged into develop with fea34ff5.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading