build: reference zone.js from source directly instead of npm. (#33046)

Close #32482

PR Close #33046
This commit is contained in:
JiaLiPassion
2019-10-06 12:06:53 +09:00
committed by atscott
parent 3de72e4124
commit 8c6fb17d29
100 changed files with 181 additions and 159 deletions

View File

@ -30,13 +30,16 @@ ts_devserver(
static_files = [
":bundle.min_debug.es2015.js",
":bundle.min.es2015.js",
"@npm//:node_modules/zone.js/dist/zone.js",
"//packages/zone.js/dist:zone.js",
"index.html",
],
)
ts_devserver(
name = "devserver",
data = [
"//packages/zone.js/dist:zone.js",
],
entry_module = "angular/modules/benchmarks/src/views/index",
index_html = "index.html",
scripts = [
@ -45,7 +48,6 @@ ts_devserver(
],
serving_path = "/index.js",
static_files = [
"@npm//:node_modules/zone.js/dist/zone.js",
"index.html",
],
deps = [":application_lib"],

View File

@ -35,4 +35,4 @@
</script>
</body>
</html>
</html>