1 parent
f47217d5a3
commit
8ceb3c8be8
60 files changed
+10884
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
// `npm run dev` proxies the API to a locally running daemon.
|
||||
const daemon = process.env.JELLYMOVE_URL ?? 'http://127.0.0.1:8097';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: { proxy: { '/api': daemon } },
|
||||
build: { outDir: 'dist', emptyOutDir: true },
|
||||
});
|
||||
Reference in new issue
Block a user