johnagan / clean-webpack-plugin

A webpack plugin to remove your build folder(s) before building
MIT License
1.96k stars 136 forks source link

Cannot read properties of undefined (reading 'emit') #205

Open VN-VS opened 2 years ago

VN-VS commented 2 years ago

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

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