FIx some for build

This commit is contained in:
mahmood
2026-09-10 23:10:52 +03:30
parent ec899defb9
commit 21760b3ca1
8 changed files with 1915 additions and 530 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
/**
* باندل تک‌فایل برای Docker (release/app.js) بعد از nest build.
* Prisma و bcrypt به‌خاطر باینری native خارجی می‌مانند و در ایمیج نصب می‌شوند.
* فقط Prisma به‌خاطر باینری native خارجی می‌ماند و در ایمیج نصب می‌شود.
*/
module.exports = {
entryPoints: ['dist/src/main.js'],
@@ -15,7 +15,6 @@ module.exports = {
external: [
'@prisma/client',
'.prisma/client',
'bcrypt',
// optional Nest peers — نباید resolve اجباری شوند
'@nestjs/microservices',
'@nestjs/websockets',