mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Instead of listing every file manually, we can use the available rule that extracts Sass dependency files automatically from `@npm//`. PR Close #46642
25 lines
487 B
Text
25 lines
487 B
Text
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",
|
|
],
|
|
)
|