From c79d4371ca3a8443142fbbd0d852d020b92e3b94 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Fri, 21 Jun 2019 16:52:57 -0400 Subject: [PATCH] fix(nx): add rootDir field when using ng add @nrwl/workspace --- packages/workspace/src/schematics/ng-add/ng-add.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/workspace/src/schematics/ng-add/ng-add.ts b/packages/workspace/src/schematics/ng-add/ng-add.ts index 2072e1f76222f..a5a847da809e2 100755 --- a/packages/workspace/src/schematics/ng-add/ng-add.ts +++ b/packages/workspace/src/schematics/ng-add/ng-add.ts @@ -322,6 +322,7 @@ function setUpCompilerOptions( tsconfig.compilerOptions.paths = {}; } tsconfig.compilerOptions.baseUrl = '.'; + tsconfig.compilerOptions.rootDir = '.'; return tsconfig; }