This commit is contained in:
Akis 2023-01-08 17:42:05 +02:00
parent da0f58793d
commit 26978d99e2
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -4,7 +4,13 @@ import { viteCommonjs } from "@originjs/vite-plugin-commonjs";
import { defineConfig } from "vite";
const config = defineConfig({
plugins: [sveltekit(), unoCSS(), viteCommonjs()],
plugins: [
sveltekit(),
unoCSS(),
viteCommonjs({
include: ["pg", "knex"]
})
],
ssr: {
noExternal: ["pg"]
}