mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-01-22 07:06:28 +00:00
20 lines
387 B
JavaScript
20 lines
387 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite'
|
|
import precompileIntl from 'svelte-intl-precompile/sveltekit-plugin'
|
|
|
|
const port = 3000
|
|
|
|
/** @type {import('vite').UserConfig} */
|
|
const config = {
|
|
clearScreen: false,
|
|
server: {
|
|
port,
|
|
proxy: {
|
|
'/api': 'http://localhost:8000',
|
|
},
|
|
},
|
|
preview: { port },
|
|
plugins: [sveltekit(), precompileIntl('locales')],
|
|
}
|
|
|
|
export default config
|