A webpack plugin to remove your build folder(s) before building
Changes
Breaking changes:
cleanOnceBeforeBuildPatterns
use emit
hook instead of compile
CleanWebpackPlugin
// es modules
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
// common js
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
Relavant:
Changes:
output.path
)Additional notes:
Closes Issues: #53 #55 #67 #73 #80 #85 #86 #89 #91 #92 #93 #98 Closes PRs: #39 #74
Massive props to @chrisblossom for working on this and pushing it through.
No updates from sub v1 release.