mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-25 09:21:11 +02:00
28 lines
558 B
JavaScript
28 lines
558 B
JavaScript
import { defineConfig } from 'vite';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
// see https://vitejs.dev/config
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
envPrefix: 'PB',
|
|
base: './',
|
|
build: {
|
|
chunkSizeWarningLimit: 1000,
|
|
reportCompressedSize: false,
|
|
},
|
|
plugins: [
|
|
svelte({
|
|
experimental: {
|
|
useVitePreprocess: true,
|
|
},
|
|
}),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': __dirname + '/src',
|
|
}
|
|
},
|
|
})
|