johnagan / clean-webpack-plugin

A webpack plugin to remove your build folder(s) before building

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read properties of undefined (reading 'emit')

VN-VS opened this issue · comments

commented

const { CleanWebpackPlugin } = require('clean-webpack-plugin')
plugins: [
new CleanWebpackPlugin()
]

throw err;
Cannot read properties of undefined (reading 'emit')
at CleanWebpackPlugin.apply