changes
This commit is contained in:
1 parent
f7037a6780
commit
acb5070622
44 files changed
+5047
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [svelte(), tailwindcss()],
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
// `npm run dev` proxies API calls to the Go backend so the SPA can be
|
||||
// developed without rebuilding the whole binary on every change.
|
||||
'/api': 'http://localhost:8080',
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user