mirror of
https://github.com/System-End/campfire.git
synced 2026-04-19 19:45:12 +00:00
fix: prisma bundling
This commit is contained in:
parent
52b9303dd4
commit
1a5ce98ce7
1 changed files with 10 additions and 1 deletions
|
|
@ -14,7 +14,16 @@ export default defineConfig({
|
|||
integrations: [react(), svelte()],
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()]
|
||||
plugins: [tailwindcss()],
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: [/^@prisma\/client\/runtime\/.*/]
|
||||
}
|
||||
},
|
||||
ssr: {
|
||||
noExternal: ['@prisma/client'],
|
||||
external: ['@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs']
|
||||
}
|
||||
},
|
||||
|
||||
adapter: node({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue