chore: webpack to 5.x

pull/2992/head
Amour1688 2020-10-13 09:37:40 +08:00
parent 382e9b5de0
commit 748f8d526d
3 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,5 @@
import { version } from '../../package.json';
import pkg from '../../package.json';
const { version } = pkg;
export default version;

View File

@ -127,7 +127,7 @@
"gulp": "^4.0.1",
"gulp-babel": "^8.0.0",
"gulp-strip-code": "^0.1.4",
"html-webpack-plugin": "^3.2.0",
"html-webpack-plugin": "^4.0.0",
"husky": "^4.0.0",
"istanbul-instrumenter-loader": "^3.0.0",
"jest": "^26.0.0",
@ -188,7 +188,7 @@
"vue-style-loader": "^4.1.2",
"vue-virtual-scroller": "^1.0.0",
"vuex": "^4.0.0-beta.2",
"webpack": "^4.28.4",
"webpack": "^5.0.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14",

View File

@ -136,7 +136,7 @@ module.exports = {
hot: true,
open: true,
},
devtool: 'cheap-module-eval-source-map',
devtool: 'cheap-module-source-map',
plugins: [
new MiniCssExtractPlugin({
filename: '[name].css',