mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
915e82d854
Instead of listing every file manually, we can use the available rule that extracts Sass dependency files automatically from `@npm//`. PR Close #46642
26 lines
487 B
Python
26 lines
487 B
Python
load("@io_bazel_rules_sass//:defs.bzl", "npm_sass_library")
|
|
load("//tools:defaults.bzl", "ts_config")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files([
|
|
"tsconfig.json",
|
|
"cypress.json",
|
|
])
|
|
|
|
npm_sass_library(
|
|
name = "material_sass_deps",
|
|
deps = [
|
|
"@npm//@angular/cdk",
|
|
"@npm//@angular/material",
|
|
],
|
|
)
|
|
|
|
ts_config(
|
|
name = "tsconfig_spec",
|
|
src = "tsconfig.spec.json",
|
|
deps = [
|
|
"//devtools:tsconfig.json",
|
|
],
|
|
)
|