1 Star 0 Fork 0

caicongyang/risk-rule-engine-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts.timestamp-1732006455411-2591024eb8119.mjs 5.51 KB
一键复制 编辑 原始数据 按行查看 历史
caicongyang 提交于 2024-11-19 16:57 . feat:add some code
// vite.config.ts
import { defineApplicationConfig } from "file:///Users/caicongyang/IdeaProjects/tom/risk-rule-engine-admin/internal/vite-config/dist/index.mjs";
import Inspector from "file:///Users/caicongyang/IdeaProjects/tom/risk-rule-engine-admin/node_modules/.pnpm/vite-plugin-vue-inspector@5.2.0_vite@5.4.11_@types+node@20.17.6_less@4.2.0_sass@1.81.0_terser@5.36.0_/node_modules/vite-plugin-vue-inspector/dist/index.mjs";
var vite_config_default = defineApplicationConfig({
overrides: {
optimizeDeps: {
include: [
"echarts/core",
"echarts/charts",
"echarts/components",
"echarts/renderers",
"qrcode",
"@iconify/iconify",
"ant-design-vue/es/locale/zh_CN",
"ant-design-vue/es/locale/en_US"
]
},
server: {
proxy: {
"/stock": {
target: "http://127.0.0.1:8888",
changeOrigin: true
},
"/t-etf": {
target: "http://127.0.0.1:8888",
changeOrigin: true
},
"/t-stock-limit": {
target: "http://127.0.0.1:8888",
changeOrigin: true
},
"/basic-api": {
target: "http://localhost:3000",
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/basic-api`), "")
},
"/upload": {
target: "http://localhost:3300/upload",
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/upload`), "")
}
},
open: true,
warmup: {
clientFiles: ["./index.html", "./src/{views,components}/*"]
}
},
plugins: [
Inspector({
openInEditorHost: "http://localhost:5173"
})
]
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0Z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QUFBLFVBQ1IsY0FBYztBQUFBLFVBQ2QsSUFBSTtBQUFBLFVBQ0osU0FBUyxDQUFDLFNBQVMsS0FBSyxRQUFRLElBQUksT0FBTyxVQUFVLEdBQUcsRUFBRTtBQUFBLFFBQzVEO0FBQUEsTUFDRjtBQUFBLE1BQ0EsTUFBTTtBQUFBLE1BQ04sUUFBUTtBQUFBLFFBQ04sYUFBYSxDQUFDLGdCQUFnQiw0QkFBNEI7QUFBQSxNQUM1RDtBQUFBLElBQ0Y7QUFBQSxJQUNBLFNBQVM7QUFBQSxNQUNQLFVBQVU7QUFBQSxRQUNSLGtCQUFrQjtBQUFBLE1BQ3BCLENBQUM7QUFBQSxJQUNIO0FBQUEsRUFDRjtBQUNGLENBQUM7IiwKICAibmFtZXMiOiBbXQp9Cg==
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caicongyang/risk-rule-engine-admin.git
git@gitee.com:caicongyang/risk-rule-engine-admin.git
caicongyang
risk-rule-engine-admin
risk-rule-engine-admin
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385