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' } } } }