Files
37duAutomation/plugins/XQ0001-0100/XQ0013 社保费用申报导出并汇总/ui-src/vite.config.js
T
puddy 50fb138e1b feat(plugin): 新增 XQ0006 周考勤异常处理、XQ0083 调动流程生效确认;其余插件累积改动
XQ0001 排班异常识别 / XQ0002 雇主险增减操作 / XQ0012 ERP 付款申请 / XQ0013 社保费用申报 / XQ0042 抖音平台核对 / XQ0084 银行卡更新:逻辑与界面 bundle 更新(含各自版本号变更)
2026-11-18 18:55:59 +08:00

21 lines
595 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 插件 UI 由壳子托管在 /pui/xq0013/ 下,构建产物输出到插件包 ui/ 目录。
// dev 端口 5183(5180/5181/5182 已被 xq0002/xq0047/xq0041 占用),代理到本机壳子 8799。
export default defineConfig({
plugins: [vue()],
base: '/pui/xq0013/',
build: {
outDir: '../ui',
emptyOutDir: true,
},
server: {
port: 5183,
proxy: {
'/api': { target: 'http://127.0.0.1:8799', changeOrigin: true },
'/ws': { target: 'ws://127.0.0.1:8799', ws: true },
},
},
})