You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
346 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
ssr: {
// Evita que Node intente resolver el esquema 'bun:' durante el build SSR
external: ['bun:sqlite']
},
optimizeDeps: {
// No prebundlear 'bun:sqlite' en dev
exclude: ['bun:sqlite']
}
});