build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)
PR Close #28871
This commit is contained in:

committed by
Andrew Kushnir

parent
cd83a43462
commit
ea09430039
@ -1,5 +1,5 @@
|
||||
load("//tools:defaults.bzl", "ng_module")
|
||||
load("@npm_bazel_typescript//:defs.bzl", "ts_devserver")
|
||||
load("@npm_bazel_typescript//:index.bzl", "ts_devserver")
|
||||
|
||||
package(default_visibility = ["//modules/playground:__subpackages__"])
|
||||
|
||||
@ -15,7 +15,7 @@ ng_module(
|
||||
"//packages/platform-browser",
|
||||
"//packages/platform-browser-dynamic",
|
||||
"//packages/router",
|
||||
"@ngdeps//rxjs",
|
||||
"@npm//rxjs",
|
||||
],
|
||||
)
|
||||
|
||||
@ -26,15 +26,15 @@ ts_devserver(
|
||||
# there is only one RxJS UMD bundle that re-exports everything at the root.
|
||||
"//modules/playground:systemjs-rxjs-operators.js",
|
||||
"//third_party/fonts.google.com/open-sans",
|
||||
"@ngdeps//node_modules/rxjs:bundles/rxjs.umd.js",
|
||||
"@ngdeps//node_modules/tslib:tslib.js",
|
||||
"@npm//node_modules/rxjs:bundles/rxjs.umd.js",
|
||||
"@npm//node_modules/tslib:tslib.js",
|
||||
] + glob(["**/*.css"]),
|
||||
port = 4200,
|
||||
static_files = [
|
||||
"index.html",
|
||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||
"@ngdeps//node_modules/systemjs:dist/system.js",
|
||||
"@npm//node_modules/zone.js:dist/zone.js",
|
||||
"@npm//node_modules/reflect-metadata:Reflect.js",
|
||||
"@npm//node_modules/systemjs:dist/system.js",
|
||||
"//modules/playground:systemjs-config.js",
|
||||
"load-app.js",
|
||||
],
|
||||
|
@ -14,9 +14,9 @@
|
||||
This is because we want to use SystemJS instead of RequireJS and want to support
|
||||
lazy loading of routes. Read more in the "load-app.js" file.
|
||||
-->
|
||||
<script src="ngdeps/node_modules/zone.js/dist/zone.js"></script>
|
||||
<script src="ngdeps/node_modules/reflect-metadata/Reflect.js"></script>
|
||||
<script src="ngdeps/node_modules/systemjs/dist/system.js"></script>
|
||||
<script src="npm/node_modules/zone.js/dist/zone.js"></script>
|
||||
<script src="npm/node_modules/reflect-metadata/Reflect.js"></script>
|
||||
<script src="npm/node_modules/systemjs/dist/system.js"></script>
|
||||
<script src="angular/modules/playground/systemjs-config.js"></script>
|
||||
<script src="load-app.js"></script>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user