From 758ee958802be45e04c6889ce0fcf391433d7882 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Tue, 21 Jun 2016 14:43:14 -0700 Subject: [PATCH] fix(router): fix tsconfig to use es2015 modules --- modules/@angular/router/tsconfig-es2015.json | 2 +- modules/@angular/router/tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/@angular/router/tsconfig-es2015.json b/modules/@angular/router/tsconfig-es2015.json index 50d8392ef0..9ee3b1d581 100644 --- a/modules/@angular/router/tsconfig-es2015.json +++ b/modules/@angular/router/tsconfig-es2015.json @@ -4,7 +4,7 @@ "declaration": true, "stripInternal": true, "experimentalDecorators": true, - "module": "commonjs", + "module": "es2015", "moduleResolution": "node", "outDir": "../../../dist/packages-dist/router/esm", "paths": { diff --git a/modules/@angular/router/tsconfig.json b/modules/@angular/router/tsconfig.json index d8e34e9c3a..18bbfd7760 100644 --- a/modules/@angular/router/tsconfig.json +++ b/modules/@angular/router/tsconfig.json @@ -30,6 +30,7 @@ "src/router_outlet_map.ts", "src/router_state.ts", "src/shared.ts", + "src/url_tree.ts", "src/common_router_providers.ts", "src/router_providers.ts", "src/create_url_tree.ts",