From 2a3ca7bfcfc4c861687eec252cc01ffc55796134 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 22 Nov 2016 13:59:36 -0800 Subject: [PATCH] fix(compiler-cli): fix paths in source maps to be relative The change looks bigger than it really is because I reordered the properties to match other tsconfigs we have. The only real change is removal of sourceRoot property. Fixes #13040 --- .../@angular/compiler-cli/tsconfig-build.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/@angular/compiler-cli/tsconfig-build.json b/modules/@angular/compiler-cli/tsconfig-build.json index 7c89c050db..7bed131916 100644 --- a/modules/@angular/compiler-cli/tsconfig-build.json +++ b/modules/@angular/compiler-cli/tsconfig-build.json @@ -1,11 +1,11 @@ { "compilerOptions": { - "module": "commonjs", - "target": "es5", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "sourceMap": true, "baseUrl": ".", + "declaration": true, + "experimentalDecorators": true, + "noImplicitAny": true, + "module": "commonjs", + "outDir": "../../../dist/packages-dist/compiler-cli", "paths": { "@angular/core": ["../../../dist/packages-dist/core"], "@angular/common": ["../../../dist/packages-dist/common"], @@ -14,11 +14,11 @@ "@angular/platform-browser": ["../../../dist/packages-dist/platform-browser"], "@angular/tsc-wrapped": ["../../../dist/tools/@angular/tsc-wrapped"] }, - "experimentalDecorators": true, "rootDir": ".", - "sourceRoot": ".", - "outDir": "../../../dist/packages-dist/compiler-cli", - "declaration": true, + "sourceMap": true, + "inlineSources": true, + "target": "es5", + "lib": ["es6", "dom"], "skipLibCheck": true }, "exclude": ["integrationtest"],