fix(bazel): Update schematics to support routing (#29548)

PR closes https://github.com/angular/angular/issues/29035

PR Close #29548
This commit is contained in:
Keen Yee Liau
2019-03-27 09:58:59 -07:00
committed by Miško Hevery
parent 8badf9808a
commit 401b8eedd5
4 changed files with 15 additions and 141 deletions

View File

@ -41,6 +41,7 @@ rollup_bundle(
entry_point = "src/main.prod",
deps = [
"//src",
"@npm//@angular/router",
"@npm//rxjs",
],
)
@ -83,6 +84,8 @@ ts_devserver(
"@npm//node_modules/@angular/common:bundles/common-http.umd.js",
"@npm//node_modules/@angular/core:bundles/core.umd.js",
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js",
"@npm//node_modules/@angular/router:bundles/router.umd.js",
"@npm//node_modules/@angular/router:router.ngfactory.js",
"@npm//node_modules/tslib:tslib.js",
":rxjs_umd_modules",
],
@ -103,6 +106,7 @@ ts_library(
deps = [
":src",
"@npm//@angular/core",
"@npm//@angular/router",
"@npm//@types",
],
)
@ -124,6 +128,7 @@ ts_web_test_suite(
name = "test",
srcs = [
"@npm//node_modules/@angular/common:bundles/common.umd.js",
"@npm//node_modules/@angular/common:bundles/common-testing.umd.js",
"@npm//node_modules/@angular/compiler:bundles/compiler.umd.js",
"@npm//node_modules/@angular/compiler:bundles/compiler-testing.umd.js",
"@npm//node_modules/@angular/core:bundles/core.umd.js",
@ -132,6 +137,8 @@ ts_web_test_suite(
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser-testing.umd.js",
"@npm//node_modules/@angular/platform-browser-dynamic:bundles/platform-browser-dynamic.umd.js",
"@npm//node_modules/@angular/platform-browser-dynamic:bundles/platform-browser-dynamic-testing.umd.js",
"@npm//node_modules/@angular/router:bundles/router.umd.js",
"@npm//node_modules/@angular/router:bundles/router-testing.umd.js",
"@npm//node_modules/tslib:tslib.js",
],
runtime_deps = [

View File

@ -8,7 +8,9 @@
"es2015"
],
"experimentalDecorators": true,
"types": []
"types": [],
"module": "amd",
"moduleResolution": "node"
},
"include": [
"node_modules/@angular/**/*"