From 6b36156519181db274a467833bd594cefa457b6f Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 24 Jan 2017 23:10:05 +0100 Subject: [PATCH] build: fix sourcemaps for dev-app and e2e-app. (#2753) * Fixes the invalid sourcemaps for the dev-app and e2e-app. > The sourcemaps didn't include the content of the source file because the paths were mapped incorrectly (due to a combination of `outDir` and `mapRoot`) --- src/demo-app/tsconfig.json | 1 - src/e2e-app/tsconfig.json | 1 - src/lib/tsconfig-srcs.json | 1 - src/lib/tsconfig.json | 1 - 4 files changed, 4 deletions(-) diff --git a/src/demo-app/tsconfig.json b/src/demo-app/tsconfig.json index 31ceecc975e..7d14befdc59 100644 --- a/src/demo-app/tsconfig.json +++ b/src/demo-app/tsconfig.json @@ -4,7 +4,6 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "es2015", "dom"], - "mapRoot": "/", "module": "commonjs", "moduleResolution": "node", "noEmitOnError": true, diff --git a/src/e2e-app/tsconfig.json b/src/e2e-app/tsconfig.json index b6ab4c45d6f..bc4ee42255a 100644 --- a/src/e2e-app/tsconfig.json +++ b/src/e2e-app/tsconfig.json @@ -4,7 +4,6 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "es2015", "dom"], - "mapRoot": "", "module": "commonjs", "moduleResolution": "node", "noEmitOnError": true, diff --git a/src/lib/tsconfig-srcs.json b/src/lib/tsconfig-srcs.json index 42240acf486..fea7a527507 100644 --- a/src/lib/tsconfig-srcs.json +++ b/src/lib/tsconfig-srcs.json @@ -4,7 +4,6 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "es2015", "dom"], - "mapRoot": "", "module": "es2015", "moduleResolution": "node", "noEmitOnError": true, diff --git a/src/lib/tsconfig.json b/src/lib/tsconfig.json index c517a8fb807..5940ef3eeb2 100644 --- a/src/lib/tsconfig.json +++ b/src/lib/tsconfig.json @@ -4,7 +4,6 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "es2015", "dom"], - "mapRoot": "", "module": "commonjs", "moduleResolution": "node", "noEmitOnError": true,