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