mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-06-10 11:16:48 +00:00
18 lines
373 B
JavaScript
18 lines
373 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite'
|
|
import precompileIntl from 'svelte-intl-precompile/sveltekit-plugin'
|
|
import { defineConfig } from 'vite'
|
|
|
|
const port = 3000
|
|
|
|
export default defineConfig({
|
|
clearScreen: false,
|
|
server: {
|
|
port,
|
|
proxy: {
|
|
'/api': 'http://localhost:8000',
|
|
},
|
|
},
|
|
preview: { port },
|
|
plugins: [sveltekit(), precompileIntl('locales')],
|
|
})
|