forked from ProjectSegfault/website
maybe
This commit is contained in:
parent
da0f58793d
commit
26978d99e2
@ -4,7 +4,13 @@ import { viteCommonjs } from "@originjs/vite-plugin-commonjs";
|
|||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
|
|
||||||
const config = defineConfig({
|
const config = defineConfig({
|
||||||
plugins: [sveltekit(), unoCSS(), viteCommonjs()],
|
plugins: [
|
||||||
|
sveltekit(),
|
||||||
|
unoCSS(),
|
||||||
|
viteCommonjs({
|
||||||
|
include: ["pg", "knex"]
|
||||||
|
})
|
||||||
|
],
|
||||||
ssr: {
|
ssr: {
|
||||||
noExternal: ["pg"]
|
noExternal: ["pg"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user