You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
354 B

const { defineConfig } = require('@vue/cli-service')
// vue.config.js
module.exports = {
transpileDependencies: true,
parallel: false,
productionSourceMap: false, // 关闭 source map 加速构建
configureWebpack: {
performance: {
hints: false
},
optimization: {
splitChunks: {
chunks: 'all'
}
}
}
}