feat: compress uploads and serve resized image variants via /api/img

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
mahmood
2026-11-14 15:07:11 +03:30
co-authored by Cursor
parent b71fb678be
commit 3fe0a930c7
32 changed files with 976 additions and 52 deletions
+2
View File
@@ -16,6 +16,8 @@ module.exports = {
external: [
'@prisma/client',
'.prisma/client',
// Native image library, loaded lazily by ImageVariantService; absent = no resizing.
'sharp',
'@nestjs/microservices',
'@nestjs/microservices/*',
'@nestjs/websockets',