Skip to content

Webpack 5 Upgrade#144

Merged
Mortaro merged 8 commits intonullstack:unstable-nextfrom
GuiDevloper:wp-5-upgrade
Jan 30, 2022
Merged

Webpack 5 Upgrade#144
Mortaro merged 8 commits intonullstack:unstable-nextfrom
GuiDevloper:wp-5-upgrade

Conversation

@GuiDevloper
Copy link
Copy Markdown
Member

@GuiDevloper GuiDevloper commented Jan 3, 2022

Webpack v5 and fix main deprecated: devtool config option changed and now defaults to false

Upgrade deprecated webpack plugins: purgecss-webpack-plugin changed whitelist to better term safelist

Improve and make cache optional on build:

  • added build --cache option (allow additional caching time when using it)
  • passing --cache option to builders to avoid process.exit and allow cache on idling
  • TerserPlugin's new parallel option bug destroy cache on server caching, then disabled (defaults to CPU quantity)

Support webpack 5 error handling: updated webpack compiler error handler to support the v5 stats object

@Mortaro Mortaro marked this pull request as draft January 9, 2022 05:06
@GuiDevloper GuiDevloper marked this pull request as ready for review January 21, 2022 00:19
@Mortaro Mortaro changed the base branch from next to unstable-next January 30, 2022 03:51
@Mortaro Mortaro merged commit 6be3da4 into nullstack:unstable-next Jan 30, 2022
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