diff --git a/vite.config.js b/vite.config.js index f2375925..b2e81c52 100644 --- a/vite.config.js +++ b/vite.config.js @@ -15,12 +15,14 @@ export default ({ mode, command }) => { // target: 'http://192.168.10.126:8889', // hy // target: 'http://192.168.3.12:13000', + // longge + // target: 'http://192.168.3.16:13000', // xiaohei - // target: 'http://192.168.3.65:13000', + // target:'http://192.168.3.65:13000', // lmy // target: 'http://192.168.10.123:8889', // cg - // target: 'http://192.168.3.2:13000', + // target: 'http://192.168.3.73:13000', // target: 'http://192.168.10.101:8888', // 老zyc // target: 'http://192.168.10.75:8777', @@ -35,7 +37,7 @@ export default ({ mode, command }) => { // target: 'http://192.168.10.29:13000', // target: 'http://192.168.3.5:13000',//? // target: 'http://h5uapi.huitongys.com', - target: 'http://test.api.huo5you.com', + target: 'http://test.api.huo5u.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), }, @@ -46,6 +48,9 @@ export default ({ mode, command }) => { }, }, }, + esbuild:{ + drop: ['console','debugger'] + }, resolve: { alias: { '~': resolve(__dirname, './'),