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

PR Close #34589
This commit is contained in:
Greg Magolan 2020-01-08 00:42:33 -08:00 committed by atscott
parent da4782e67f
commit 3fda893f00
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,6 @@ 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",
@ -74,7 +73,6 @@ 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="/zone.min.js"></script> <script src="/npm/node_modules/zone.js/dist/zone.min.js"></script>
<script src="/bundle.min.js"></script> <script src="/bundle.min.js"></script>
</body> </body>
</html> </html>