Skip to content
Permalink
Browse files

Fix TypeError in CleanWebpackPlugin instantiation (#185)

Fix "TypeError: CleanWebpackPlugin is not a constructor" for clean-webpack-plugin >= 3.0.0
  • Loading branch information
deveth0 authored and erquhart committed Jun 7, 2019
1 parent 8a8eda9 commit 55b82b15026c8917940e7a7bd34efc758a0f865b
Showing with 1 addition and 1 deletion.
  1. +1 −1 webpack.dev.js
@@ -1,6 +1,6 @@
const merge = require("webpack-merge");
const path = require("path");
const CleanWebpackPlugin = require("clean-webpack-plugin");
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");

const common = require("./webpack.common");

0 comments on commit 55b82b1

Please sign in to comment.
You can’t perform that action at this time.