Skip to content

Commit 10b9bce

Browse files
josephperrottAndrewKushnir
authored andcommitted
refactor(devtools): use zone.js from npm instead of from the local build (#61948)
Rely on zone.js from the npm managed version instead of the locally built copy PR Close #61948
1 parent d3c2956 commit 10b9bce

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

devtools/projects/demo-no-zone/src/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ filegroup(
3838
srcs = [
3939
":index.html",
4040
":styles.css",
41-
"//packages/zone.js/bundles:zone.umd.js",
41+
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
4242
],
4343
)
4444

devtools/projects/demo-no-zone/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<app-root></app-root>
1212

13-
<script src="./angular/packages/zone.js/bundles/zone.umd.js"></script>
13+
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
1414
<script type="module" src="./bundle/main.js"></script>
1515
</body>
1616
</html>

devtools/projects/demo-standalone/src/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ filegroup(
7676
":demo_styles",
7777
":index.html",
7878
"//devtools/projects/demo-standalone/src/assets",
79-
"//packages/zone.js/bundles:zone.umd.js",
79+
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
8080
],
8181
)
8282

devtools/projects/demo-standalone/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<app-root></app-root>
1919
</div>
2020

21-
<script src="./angular/packages/zone.js/bundles/zone.umd.js"></script>
21+
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
2222
<script type="module" src="./bundle/main.js"></script>
2323
</body>
2424
</html>

devtools/projects/shell-browser/src/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ filegroup(
109109
":browser_specific_styles",
110110
":index.html",
111111
":shell_common_styles",
112-
"//packages/zone.js/bundles:zone.umd.js",
112+
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
113113
],
114114
)
115115

devtools/projects/shell-browser/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<body>
1616
<app-root></app-root>
1717

18-
<script src="./packages/zone.js/bundles/zone.umd.js"></script>
18+
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
1919
<script type="module" src="./bundle/main.js"></script>
2020
</body>
2121
</html>

devtools/src/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ filegroup(
7979
":demo_styles",
8080
":index.html",
8181
"//devtools/src/assets",
82-
"//packages/zone.js/bundles:zone.umd.js",
8382
],
8483
)
8584

@@ -88,6 +87,7 @@ pkg_web(
8887
srcs = [":dev_app_static_files"] + [
8988
":bundle",
9089
"@npm//:node_modules/tslib/tslib.js",
90+
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
9191
],
9292
)
9393

devtools/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<app-root></app-root>
1919
</div>
2020

21-
<script src="./angular/packages/zone.js/bundles/zone.umd.js"></script>
21+
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
2222
<script type="module" src="./bundle/main.js"></script>
2323
</body>
2424
</html>

0 commit comments

Comments
 (0)