From 30cb67fb38aa70cf91c1a492e8bcfde894a11c32 Mon Sep 17 00:00:00 2001 From: Kruthika Rathinavel Date: Fri, 17 Mar 2017 15:10:49 -0400 Subject: [PATCH] Separated out js files to a different 'dist' folder. --- e2e/tsconfig.json | 3 ++- src/index.html | 2 +- src/systemjs.config.js | 2 +- src/tsconfig.json | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/e2e/tsconfig.json b/e2e/tsconfig.json index 2c7260d1b..01776ca1e 100644 --- a/e2e/tsconfig.json +++ b/e2e/tsconfig.json @@ -8,6 +8,7 @@ "experimentalDecorators": true, "lib": [ "es2015", "dom" ], "noImplicitAny": true, - "suppressImplicitAnyIndexErrors": true + "suppressImplicitAnyIndexErrors": true, + "outDir": "dist" } } diff --git a/src/index.html b/src/index.html index 832743558..acba571ee 100644 --- a/src/index.html +++ b/src/index.html @@ -15,7 +15,7 @@ diff --git a/src/systemjs.config.js b/src/systemjs.config.js index e91ba9b3c..9ff160f8c 100644 --- a/src/systemjs.config.js +++ b/src/systemjs.config.js @@ -11,7 +11,7 @@ // map tells the System loader where to look for things map: { // our app is within the app folder - app: 'app', + app: 'dist/app', // angular bundles '@angular/core': 'npm:@angular/core/bundles/core.umd.js', diff --git a/src/tsconfig.json b/src/tsconfig.json index 2c7260d1b..01776ca1e 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -8,6 +8,7 @@ "experimentalDecorators": true, "lib": [ "es2015", "dom" ], "noImplicitAny": true, - "suppressImplicitAnyIndexErrors": true + "suppressImplicitAnyIndexErrors": true, + "outDir": "dist" } }