Remove webpack plugins
This commit is contained in:
parent
84f706bf30
commit
68be0338fc
|
@ -1,7 +1,6 @@
|
||||||
const { resolve, join } = require('path')
|
const { resolve, join } = require('path')
|
||||||
const webpack = require('webpack')
|
const webpack = require('webpack')
|
||||||
const ManifestPlugin = require('webpack-manifest-plugin');
|
const ManifestPlugin = require('webpack-manifest-plugin');
|
||||||
const CleanWebpackPlugin = require('clean-webpack-plugin')
|
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
|
@ -70,7 +69,6 @@ const config = {
|
||||||
new webpack.NoEmitOnErrorsPlugin(),
|
new webpack.NoEmitOnErrorsPlugin(),
|
||||||
new webpack.NamedModulesPlugin(),
|
new webpack.NamedModulesPlugin(),
|
||||||
new ManifestPlugin({'writeToFileEmit': true}),
|
new ManifestPlugin({'writeToFileEmit': true}),
|
||||||
new CleanWebpackPlugin(['public/static'], {}),
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
module.exports = config
|
module.exports = config
|
||||||
|
|
Loading…
Reference in New Issue