| 12345678910111213141516171819202122232425262728 |
- import { defineConfig } from '@vben/vite-config';
- import { version } from './package.json' with { type: 'json' };
- export default defineConfig(async () => {
- return {
- application: {
- archiver: true,
- archiverPluginOptions: {
- name: `six.zycc-${version}-dist`,
- outputDir: '../../output',
- },
- },
- vite: {
- server: {
- proxy: {
- '/manager': {
- target: 'https://wx.hzliuzhi.com:4433',
- secure: false,
- changeOrigin: true,
- logLevel: 'debug',
- ws: true,
- },
- },
- },
- },
- };
- });
|