upend/webui/vite.config.ts

25 lines
471 B
TypeScript
Raw Permalink Normal View History

2024-03-30 12:36:50 +01:00
import { sentrySvelteKit } from '@sentry/sveltekit';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
2024-03-30 12:36:50 +01:00
plugins: [
sentrySvelteKit({
sourceMapsUploadOptions: {
org: 'upend',
project: 'upend-kestrel',
authToken: process.env.SENTRY_AUTH_TOKEN
2024-03-30 12:36:50 +01:00
}
}),
sveltekit()
],
server: {
proxy: {
'/api': {
target: 'http://localhost:8093/'
}
}
}
});