Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 5 馃弾 #621

Closed
wants to merge 23 commits into from
Closed

Webpack 5 馃弾 #621

wants to merge 23 commits into from

Conversation

marcelgerber
Copy link
Member

@marcelgerber marcelgerber commented Sep 9, 2020

Webpack 5 it is, since it speeds up builds quite a lot.

A warm (with cache) Webpack development build with small changes now takes a mere 7 seconds, and a production build is down to 24s 馃殌

There are still a few things to do or wait for:

The changes csv-parse -> papaparse and filenamify -> sanitize-filename are needed because Webpack 5 removes automatic Node polyfills.
We could still manually polyfill those, but I thought it to be cleaner to use browser-first modules instead.

@marcelgerber marcelgerber changed the title Webpack 5 Webpack 5 馃弾 Sep 9, 2020
webpack.config.js Outdated Show resolved Hide resolved
@marcelgerber
Copy link
Member Author

Let's close this now since it's gone very stale - we can revisit this at some point in the future (and of course use this PR for reference), or maybe we want to switch away from Webpack after all at some point.

@danyx23 danyx23 deleted the webpack-5 branch January 13, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants