vite.config prisma

This commit is contained in:
titver968
2025-11-27 16:55:26 +01:00
parent 77efdda5f3
commit 2a052478f0
3 changed files with 814 additions and 2185 deletions

2988
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -46,9 +46,7 @@
"vite-plugin": "^0.0.0"
},
"dependencies": {
"@prisma/adapter-better-sqlite3": "^7.0.0",
"@prisma/client": "^6.19.0",
"@prisma/migrate": "^7.0.0",
"@sveltejs/adapter-node": "^5.2.13",
"bcryptjs": "^3.0.2"
}

View File

@@ -4,9 +4,6 @@ import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
ssr: {
noExternal: ['@prisma/client']
},
optimizeDeps: {
exclude: ['@prisma/client']
external: ['@prisma/client', '.prisma/client']
}
});