mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
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