webpack-css-treeshaking-plugin
webpack-css-treeshaking-plugin copied to clipboard
after-emit seems too old for webpack4
replace `compiler.plugin('after-emit', function (compilation, callback) {
}with
compiler.hooks.emit.tapAsync('CSSTreeShakingPlugin', function (compilation, callback) {
}` will work