nest-typed-config icon indicating copy to clipboard operation
nest-typed-config copied to clipboard

Webpack builds in monorepos are broken

Open svyatogor opened this issue 1 year ago • 1 comments

I'm submitting a...


[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

Using this nest-typed-config in nestjs monorepo, which are built with web pack results. In class-validator library not being found due to dynamic loading. Previous version exhibited similar behaviour for dotenv, but it was easier to work around by providing own loader.

Expected behavior

Webpack builds should not fail.

Environment


Nest version: 9.0.0

 
For Tooling issues:
- Node version: 16  

Others:

svyatogor avatar Sep 21 '22 07:09 svyatogor

Please provide an minimum reproduction repo to help better investigation.

Nikaple avatar Sep 26 '22 09:09 Nikaple