diff --git a/webpack.config.js b/webpack.config.js index 2e2acd3..c1d386f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,7 @@ const devMode = process.env.NODE_ENV !== 'production'; const defaultConfig = { mode: 'production', plugins: [ - new CleanWebpackPlugin(['dist/']), + new CleanWebpackPlugin(), new MiniCssExtractPlugin({ // Options similar to the same options in webpackOptions.output // both options are optional