Hi, as of typescript@5, we can now set "moduleResolution": "bundler" which is nice. However, the @nestjs/cli package uses typescript@4.9.5. That is, we cannot configure this new option in our tsconfig.json file because we get an error:
ERROR in ./tsconfig.base.json:6:23
TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'.
4 | "target": "ES2017",
5 | "module": "ESNext",
> 6 | "moduleResolution": "bundler",
| ^^^^^^^^^
7 | "noEmit": true,
8 | "baseUrl": "./",
9 | "allowJs": false,
webpack 5.76.2 compiled with 1 error in 536 ms
ELIFECYCLE Command failed with exit code 1.
There is already a PR to fix it:
https://github.com/nestjs/nest-cli/pull/1986
Can this get please a priority to be merged?