Files
angular__angular/tools/example-module/BUILD.bazel
T
Jeremy Elbourn 5fb022f2b3 chore: update master to angular version 8 beta (#15392)
This allows us to cherry-pick @kara's static query updates from the
`ivy-2019` branch.

This change includes:
* Adding missing dependencies for various Angular subpackages
* Add umd assets where they are now necessary
* Configure bazel to target ES5 output as a workaround for https://github.com/angular/angular/issues/29107
* Updates most npm dependencies to the @npm// workspace
* Updates general workspace setup, RBE config, ngcontainer
* Update to rxjs 6.4.0 (building from source no longer needed)
* Added rxjs_shims for ts_web_test and ts_devserver targets
* Removed index.bzl and angular_material_setup_workspace (not needed anymore since material won't be built from source)
* Use browser_repositories() from @npm_bazel_karma which have pinned browsers that work on all platforms
* Change dgeni processor functions from arrow function to `function` to
work around `@npm//di` not supporting arrow functions

Co-authored-by: Greg Magolan <gmagolan@gmail.com>
2019-03-06 15:16:47 -08:00

26 lines
569 B
Python

package(default_visibility=["//visibility:public"])
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
load("//tools:defaults.bzl", "ts_library")
ts_library(
name = "example-module-lib",
srcs = glob(["**/*.ts"]),
deps = [
"@npm//@types/node",
"@npm//typescript",
],
tsconfig = ":tsconfig.json",
)
nodejs_binary(
name = "bazel-bin",
entry_point = "angular_material/tools/example-module/bazel-bin.js",
data = [
"@npm//typescript",
"@npm//source-map-support",
":example-module-lib",
":example-module.template",
],
)