123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import { defineApplicationConfig } from "file:///Users/wujiaheng/code/gooki/sa/simple-admin-backend-ui/internal/vite-config/dist/index.mjs";
- var vite_config_default = defineApplicationConfig({
- overrides: {
- optimizeDeps: {
- include: [
- "echarts/core",
- "echarts/charts",
- "echarts/components",
- "echarts/renderers",
- "@iconify/iconify",
- "ant-design-vue/es/locale/zh_CN",
- "ant-design-vue/es/locale/en_US"
- ]
- },
- server: {
- proxy: {
- "/sys-api": {
- target: "http://localhost:9100",
- changeOrigin: true,
- ws: true,
- rewrite: (path) => path.replace(new RegExp(`^/sys-api`), "")
-
-
- },
- "/fms-api": {
- target: "http://localhost:9102",
- changeOrigin: true,
- ws: true,
- rewrite: (path) => path.replace(new RegExp(`^/fms-api`), "")
- },
- "/mms-api": {
- target: "http://localhost:9104",
- changeOrigin: true,
- ws: true,
- rewrite: (path) => path.replace(new RegExp(`^/mms-api`), "")
- },
- "/wechat-api": {
- target: "http://localhost:19101",
- changeOrigin: true,
- ws: true,
- rewrite: (path) => path.replace(new RegExp(`^/wechat-api`), "")
- }
- },
- warmup: {
- clientFiles: ["./index.html", "./src/{views,components}/*"]
- }
- }
- }
- });
- export {
- vite_config_default as default
- };
|