const { defineConfig } = require('@vue/cli-service') const path = require('path') function resolve(dir) { return path.join(__dirname, dir) } module.exports = defineConfig({ transpileDependencies: true, publicPath: "/", lintOnSave:false, transpileDependencies: true, productionSourceMap: false, // devServer: { // proxy: { // '/api': { // target: 'http://api.mt4crm.net/', // changeOrigin: true, // pathRewrite: { // '^/api': '/' // } // }, // } // }, configureWebpack: { // provide the app's title in webpack's name field, so that // it can be accessed in index.html to inject the correct title. name: 'name', resolve: { alias: { '@': resolve('src') } } } })