fix: 尝试修改依赖版本

This commit is contained in:
chenjinsong
2023-10-09 19:24:44 +08:00
parent 8f9308a04e
commit 660950a73c
2 changed files with 5 additions and 1 deletions

View File

@@ -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",

View File

@@ -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: {