Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit()],
|
|
server: {
|
|
proxy: {
|
|
'/health': 'http://127.0.0.1:8080',
|
|
'/v1': 'http://127.0.0.1:8080'
|
|
}
|
|
},
|
|
build: {
|
|
target: 'es2022'
|
|
}
|
|
});
|