mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-16 21:23:00 +05:30
14 lines
332 B
TypeScript
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;
|