|
|
@ -225,15 +225,7 @@ module.exports = {
|
|
|
|
new SimpleProgressWebpackPlugin({
|
|
|
|
new SimpleProgressWebpackPlugin({
|
|
|
|
format: 'expanded'
|
|
|
|
format: 'expanded'
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
new CleanWebpackPlugin([
|
|
|
|
new CleanWebpackPlugin(),
|
|
|
|
'assets/js/*.*',
|
|
|
|
|
|
|
|
'assets/css/*.*',
|
|
|
|
|
|
|
|
'assets/*.js',
|
|
|
|
|
|
|
|
'assets/*.json'
|
|
|
|
|
|
|
|
], {
|
|
|
|
|
|
|
|
root: process.cwd(),
|
|
|
|
|
|
|
|
verbose: false
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
new OptimizeCssAssetsPlugin({
|
|
|
|
new OptimizeCssAssetsPlugin({
|
|
|
|
cssProcessorOptions: { discardComments: { removeAll: true } },
|
|
|
|
cssProcessorOptions: { discardComments: { removeAll: true } },
|
|
|
|
canPrint: true
|
|
|
|
canPrint: true
|
|
|
|