aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-vanilla/vite.config.ts')
-rw-r--r--frontend-vanilla/vite.config.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend-vanilla/vite.config.ts b/frontend-vanilla/vite.config.ts
new file mode 100644
index 0000000..58b4f81
--- /dev/null
+++ b/frontend-vanilla/vite.config.ts
@@ -0,0 +1,17 @@
+
+import { defineConfig } from 'vite';
+
+// https://vite.dev/config/
+export default defineConfig({
+ base: '/v3/',
+ server: {
+ proxy: {
+ '/api': 'http://127.0.0.1:4994',
+ '/image': 'http://127.0.0.1:4994',
+ },
+ },
+ build: {
+ outDir: '../web/dist/v3',
+ emptyOutDir: true
+ }
+});