const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, lintOnSave:false, configureWebpack: { externals: { AMap: 'AMap', } }, devServer: { proxy: { '/api': { target: 'http://localhost:6666', changeOrigin: true, pathRewrite: { '^/api': '' } } } } })