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
This commit is contained in:
Joey Perrott
2025-06-06 17:42:29 +00:00
committed by Andrew Kushnir
parent d3c2956043
commit 10b9bceea9
8 changed files with 8 additions and 8 deletions
@@ -38,7 +38,7 @@ filegroup(
srcs = [
":index.html",
":styles.css",
"//packages/zone.js/bundles:zone.umd.js",
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
],
)
@@ -10,7 +10,7 @@
<body>
<app-root></app-root>
<script src="./angular/packages/zone.js/bundles/zone.umd.js"></script>
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
<script type="module" src="./bundle/main.js"></script>
</body>
</html>
@@ -76,7 +76,7 @@ filegroup(
":demo_styles",
":index.html",
"//devtools/projects/demo-standalone/src/assets",
"//packages/zone.js/bundles:zone.umd.js",
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
],
)
@@ -18,7 +18,7 @@
<app-root></app-root>
</div>
<script src="./angular/packages/zone.js/bundles/zone.umd.js"></script>
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
<script type="module" src="./bundle/main.js"></script>
</body>
</html>
@@ -109,7 +109,7 @@ filegroup(
":browser_specific_styles",
":index.html",
":shell_common_styles",
"//packages/zone.js/bundles:zone.umd.js",
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
],
)
@@ -15,7 +15,7 @@
<body>
<app-root></app-root>
<script src="./packages/zone.js/bundles/zone.umd.js"></script>
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
<script type="module" src="./bundle/main.js"></script>
</body>
</html>
+1 -1
View File
@@ -79,7 +79,6 @@ filegroup(
":demo_styles",
":index.html",
"//devtools/src/assets",
"//packages/zone.js/bundles:zone.umd.js",
],
)
@@ -88,6 +87,7 @@ pkg_web(
srcs = [":dev_app_static_files"] + [
":bundle",
"@npm//:node_modules/tslib/tslib.js",
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
],
)
+1 -1
View File
@@ -18,7 +18,7 @@
<app-root></app-root>
</div>
<script src="./angular/packages/zone.js/bundles/zone.umd.js"></script>
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
<script type="module" src="./bundle/main.js"></script>
</body>
</html>