fix: 尝试修改依赖版本
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
"@vue/compiler-sfc": "^3.0.0",
|
||||
"@vue/component-compiler-utils": "^3.2.0",
|
||||
"@vue/test-utils": "^2.2.7",
|
||||
"@vue/server-renderer": "3.2.27",
|
||||
"@vue/server-renderer": "~3.3.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^26.0.0",
|
||||
"compression-webpack-plugin": "^8.0.1",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const path = require('path')
|
||||
const webpack = require('webpack')
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, dir)
|
||||
}
|
||||
@@ -16,6 +17,9 @@ module.exports = {
|
||||
chainWebpack: (config) => {
|
||||
config.resolve.alias // 路径别名
|
||||
.set('@', resolve('./src'))
|
||||
config.plugin('webpack.DefinePlugin').use(new webpack.DefinePlugin({
|
||||
__INTLIFY_PROD_DEVTOOLS__: JSON.stringify(false)
|
||||
}))
|
||||
},
|
||||
lintOnSave: true,
|
||||
devServer: {
|
||||
|
||||
Reference in New Issue
Block a user