sync: update from private repo (2336949a)
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
oss-sync
2026-09-17 11:29:31 +00:00
parent 28f74c4e37
commit 57702b4f34
2139 changed files with 321270 additions and 17494 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { uiSourcePlugin } from './ui-source-plugin';
import { execSync } from 'child_process';
import { resolve } from 'node:path';
@@ -17,7 +18,7 @@ function getAppVersion(): string {
}
export default defineConfig({
plugins: [react()],
plugins: [uiSourcePlugin(__dirname), react()],
base: '/ui/',
define: {
__APP_VERSION__: JSON.stringify(getAppVersion()),
@@ -33,7 +34,7 @@ export default defineConfig({
},
server: {
proxy: {
'/api': 'http://localhost:9876',
'/api': { target: 'http://localhost:9876', ws: true },
},
},
});