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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Webpack 5 upgrade #147

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

[WIP] Webpack 5 upgrade #147

wants to merge 6 commits into from

Conversation

igmoweb
Copy link

@igmoweb igmoweb commented Jan 4, 2021

Work in Progress

  • Upgrade to Webpack 5.0 and all its dependencies and loaders
  • Introduce new postcss dependency as it's needed for the postCSS loader from now on
  • Update PostCSS loader syntax
  • Update new Webpack manifest plugin syntax
  • Switch deprecated option

Missing:

  • Production build doesn't work yet due to some obscure error in Mini Extract CSS Plugin

Helpers aren't working with webpack 5 and I had to upgrade all the packages (we may not need all those upgrades, though, but it was the most straightforward way for now.

There's also a consideration to have in mind: This will break any project setup that doesn't bump its webpack version so we may want to add some notification

@kadamwhite
Copy link
Contributor

This is now outdated vs main following the merge of several PRs that included some of these loader changes. We can target Webpack 5 support for a v1.0 target, I will push out v0.10 in the interim with continued Webpack 4 support (using updated loaders)

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.

2 participants