Skip to content

clean-webpack-plugin

安装

sh
npm i -D clean-webpack-plugin@3

使用

js
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
// ...
plugins: [
  // ...
  new CleanWebpackPlugin(),
  // ...
];

Released under the MIT License.