Skip to content

Commit

Permalink
Replace CleanWebpackPlugin with output.clean
Browse files Browse the repository at this point in the history
The built-in option is available starting with webpack 5.20.0.¹ It's
also recommended in the output management guide.²

¹ <https://webpack.js.org/configuration/output/#outputclean>
² <https://webpack.js.org/guides/output-management#cleaning-up-the-dist-folder>
  • Loading branch information
victorlin committed Dec 28, 2023
1 parent 19f5c2c commit 798f3ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 270 deletions.
Loading

0 comments on commit 798f3ee

Please sign in to comment.