mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-10 12:50:38 +08:00
update html-webpack-plugin
This commit is contained in:
parent
cd6b2a27b9
commit
2e517317ad
@ -71,7 +71,6 @@ const webpackConfig = merge(baseWebpackConfig, {
|
||||
// default sort mode uses toposort which cannot handle cyclic deps
|
||||
// in certain cases, and in webpack 4, chunk order in HTML doesn't
|
||||
// matter anyway
|
||||
chunksSortMode: 'none'
|
||||
}),
|
||||
new ScriptExtHtmlWebpackPlugin({
|
||||
//`runtime` must same as runtimeChunk name. default is `runtime`
|
||||
@ -92,7 +91,6 @@ const webpackConfig = merge(baseWebpackConfig, {
|
||||
ignore: ['.*']
|
||||
}])
|
||||
],
|
||||
// recordsPath: path.resolve('webpack-records.json'),
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
chunks: 'all',
|
||||
|
@ -85,7 +85,7 @@
|
||||
"eslint-plugin-html": "4.0.5",
|
||||
"file-loader": "1.1.11",
|
||||
"friendly-errors-webpack-plugin": "1.7.0",
|
||||
"html-webpack-plugin": "3.2.0",
|
||||
"html-webpack-plugin": "^4.0.0-alpha",
|
||||
"husky": "0.14.3",
|
||||
"lint-staged": "7.2.0",
|
||||
"mini-css-extract-plugin": "0.4.1",
|
||||
@ -99,8 +99,8 @@
|
||||
"postcss-url": "7.3.2",
|
||||
"rimraf": "2.6.2",
|
||||
"sass-loader": "7.0.3",
|
||||
"script-loader": "0.7.2",
|
||||
"script-ext-html-webpack-plugin": "2.0.1",
|
||||
"script-loader": "0.7.2",
|
||||
"semver": "5.5.0",
|
||||
"serve-static": "1.13.2",
|
||||
"shelljs": "0.8.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user