website/vite.config.ts
2023-01-07 20:06:51 +02:00

14 lines
332 B
TypeScript

import { sveltekit } from "@sveltejs/kit/vite";
import unoCSS from "unocss/vite";
import { viteCommonjs } from "@originjs/vite-plugin-commonjs";
import { defineConfig } from "vite";
const config = defineConfig({
plugins: [sveltekit(), unoCSS(), viteCommonjs()],
ssr: {
noExternal: ["pg", "knex"]
}
});
export default config;