nest-typed-config
nest-typed-config copied to clipboard
Webpack builds in monorepos are broken
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:
Please provide an minimum reproduction repo to help better investigation.