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",