From a1cc6cfe14371e7c421cfe777226a22ac2201d88 Mon Sep 17 00:00:00 2001 From: yifanwww Date: Mon, 9 Dec 2024 20:35:35 +0800 Subject: [PATCH] fix: add missing class-transformer/storage in lazy import list --- lib/compiler/defaults/webpack-defaults.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compiler/defaults/webpack-defaults.ts b/lib/compiler/defaults/webpack-defaults.ts index b78b130a7..4c5232b72 100644 --- a/lib/compiler/defaults/webpack-defaults.ts +++ b/lib/compiler/defaults/webpack-defaults.ts @@ -74,6 +74,7 @@ export const webpackDefaultsFactory = ( '@nestjs/websockets/socket-module', 'class-validator', 'class-transformer', + 'class-transformer/storage', ]; if (!lazyImports.includes(resource)) { return false;