1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- const { defineConfig } = require('@vue/cli-service')
- const baseUrl = require('./src/utils/baseUrl.js')
- module.exports = defineConfig({
- transpileDependencies: true,
- lintOnSave: false,
-
-
-
-
-
-
-
- publicPath: '/',
- configureWebpack: {
- externals: {
- 'fs': require('fs')
- }
- },
- devServer: {
- port: 8090,
- proxy: process.env.NODE_ENV === "development" ? {
- [baseUrl.ROOT]: {
- target: baseUrl.URL,
-
- changeOrigin: true,
- ws: false,
- pathRewrite: {
-
- [`^${baseUrl.ROOT}`]: ''
- }
- }
-
-
-
-
-
-
-
-
-
- } : baseUrl.ROOT
- }
- })
|