13 lines
308 B
JavaScript
13 lines
308 B
JavaScript
const { defineConfig } = require('@vue/cli-service')
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
publicPath: './',
|
|
productionSourceMap: false,
|
|
chainWebpack: config => {
|
|
// 移除 prefetch 插件
|
|
config.plugins.delete('prefetch')
|
|
config.plugins.delete('preload')
|
|
|
|
}
|
|
})
|