-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
outdatedscope: nodeIssues related to Node, Express, NestJS support for NxIssues related to Node, Express, NestJS support for Nxtype: feature
Description
Current Behavior
tsconfig.lib.json rootDir is not respected, for example { "rootDir": "./src" } still builds with src in the final output like dist/src
This is a regression bug, in 10.0.11 the outDir is still respected. As of 10.1.0, we have to modify srcRootForCompilationRoot in workspace.json for this.
Expected Behavior
Should output to dist folder without src
Steps to Reproduce
nx generate @nrwl/node:library --buildable, modify tsconfig.lib.json, then nx build [library-name]
Environment
nx : Not Found
@nrwl/angular : Not Found
@nrwl/cli : 10.1.0
@nrwl/cypress : 10.1.0
@nrwl/eslint-plugin-nx : 10.1.0
@nrwl/express : Not Found
@nrwl/jest : 10.1.0
@nrwl/linter : 10.1.0
@nrwl/nest : 10.1.0
@nrwl/next : 10.1.0
@nrwl/node : 10.1.0
@nrwl/react : 10.1.0
@nrwl/schematics : Not Found
@nrwl/tao : 10.1.0
@nrwl/web : 10.1.0
@nrwl/workspace : 10.1.0
typescript : 3.9.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
outdatedscope: nodeIssues related to Node, Express, NestJS support for NxIssues related to Node, Express, NestJS support for Nxtype: feature