Revert "test: keep diff in integration/bazel minimal by not introducing additional_root_paths (#34589)" (#34730)

This reverts commit 3fda893f00.

PR Close #34730
This commit is contained in:
atscott 2020-01-10 13:39:43 -08:00
parent eabe961197
commit 01d1da67ee
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ filegroup(
ts_devserver( ts_devserver(
name = "devserver", name = "devserver",
additional_root_paths = ["npm/node_modules/zone.js/dist"],
entry_module = "bazel_integration_test/src/main", entry_module = "bazel_integration_test/src/main",
scripts = [ scripts = [
":rxjs_umd_modules", ":rxjs_umd_modules",
@ -73,6 +74,7 @@ pkg_web(
":bundle.min", ":bundle.min",
"@npm//:node_modules/zone.js/dist/zone.min.js", "@npm//:node_modules/zone.js/dist/zone.min.js",
], ],
additional_root_paths = ["npm/node_modules/zone.js/dist"],
) )
http_server( http_server(

View File

@ -9,7 +9,7 @@
<body> <body>
<!-- The Angular application will be bootstrapped into this element. --> <!-- The Angular application will be bootstrapped into this element. -->
<app-component></app-component> <app-component></app-component>
<script src="/npm/node_modules/zone.js/dist/zone.min.js"></script> <script src="/zone.min.js"></script>
<script src="/bundle.min.js"></script> <script src="/bundle.min.js"></script>
</body> </body>
</html> </html>