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

15 lines
377 B
JavaScript

const { defineConfig } = require('@vue/cli-service')
const { config } = require('process')
module.exports = defineConfig({
transpileDependencies: true, //自动判断node_modules有需要es6=>es5转换内容
// publicPath:'/xxx',
lintOnSave:false,
devServer:{
port: 3000,
open:true
},
chainWebpack:config =>{
config.plugin('friendly-errors').use
}
})