forked from ProjectSegfault/website
		
	maybe
This commit is contained in:
		@@ -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"]
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user