Files
angular__angular/tools/BUILD.bazel
T
Paul Gschwendtner 282736f8be build: build cdk with angular from source (#13541)
* build: build cdk with angular from source

* Continues the long-term Bazel goal by fixing the CDK bazel build
targets. Also builds the CDK targets with Angular from source.

Follow up's will try to make serving, and testing possible.

* Build package on CI

* No longer compile with AOT compiler that generates factory files that cannot be packaged into "ng_package"
2018-10-11 10:00:40 -07:00

25 lines
589 B
Python

package(default_visibility=["//visibility:public"])
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library")
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
ts_library(
name = "sass_bundle_lib",
srcs = ["sass_bundle.ts"],
deps = [
"@npm//@types/node",
"@npm//scss-bundle",
],
tsconfig = "bazel-tools-tsconfig.json",
)
# Executable for the custom sass_bundle rule (see sass_bundle.bzl).
nodejs_binary(
name = "sass_bundle",
data = [
"@npm//scss-bundle",
":sass_bundle_lib",
],
entry_point = "angular_material/tools/sass_bundle.js",
)