13 lines
353 B
TypeScript
13 lines
353 B
TypeScript
import devtoolsJson from 'vite-plugin-devtools-json';
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit(), devtoolsJson()],
|
|
build: {
|
|
rollupOptions: {
|
|
external: ['bun:sqlite'], // Add bun:sqlite to externals
|
|
},
|
|
},
|
|
});
|