- Run
pnpm nx build
and note there is no compiler error - Go to the source file and note this code obviously should not compile
- Go inside your node_modules and pass
_options.tsConfig
intocheckDependencies
and it now property runs the JS file and errors like it should