We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5582a73 commit 621b81aCopy full SHA for 621b81a
webpack.example.config.js
@@ -3,8 +3,8 @@ const path = require("path");
3
const HtmlWebpackPlugin = require("html-webpack-plugin");
4
const ConcatPlugin = require("webpack-concat-plugin");
5
const CopyPlugin = require("copy-webpack-plugin");
6
-const CleanWebpackPlugin = require("clean-webpack-plugin");
7
const SimpleProgressPlugin = require("webpack-simple-progress-plugin");
+const { CleanWebpackPlugin } = require("clean-webpack-plugin");
8
9
const concatPluginConfigGenerator = (name, files) => {
10
return {
@@ -37,7 +37,7 @@ module.exports = options => {
37
},
38
39
plugins: [
40
- new CleanWebpackPlugin(["dist"]),
+ new CleanWebpackPlugin(),
41
42
new HtmlWebpackPlugin({
43
template: path.resolve("static/index.html"),
0 commit comments