forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
33 lines (29 loc) · 1.15 KB
/
BUILD
File metadata and controls
33 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright Google Inc. All Rights Reserved.
#
# Use of this source code is governed by an MIT-style license that can be
# found in the LICENSE file at https://angular.io/license
licenses(["notice"]) # MIT
load("//tools:defaults.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "lib",
srcs = glob(
["**/*.ts"],
# Currently, this library is used only with the rollup plugin.
# To make it simpler for downstream repositories to compile this, we
# neither provide compile-time deps as an `npm_install` rule, nor do we
# expect the downstream repository to install @types/webpack[-*]
# So we exclude files that depend on webpack typings.
exclude = [
"src/build-optimizer/webpack-loader.ts",
"src/purify/**",
"src/index.ts",
"**/*_spec.ts",
"**/*_spec_large.ts",
],
),
tsconfig = "//:tsconfig.json",
# Borrow the compile-time deps of the typescript compiler
# Just to avoid an extra npm install action.
node_modules = "@build_bazel_rules_typescript_tsc_wrapped_deps//:node_modules",
)