-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD.bazel
47 lines (42 loc) · 1.03 KB
/
BUILD.bazel
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package(default_visibility = ["//:__subpackages__"])
exports_files(
[
".editorconfig",
".gitignore",
".prettierignore",
".prettierrc",
"README.md",
"angular.json",
"jest.config.js",
"nx.json",
"package.json",
"tsconfig.json",
"tslint.json",
"yarn.lock",
],
)
filegroup(
name = "node_modules",
srcs = glob(
[
"node_modules/**/*.js",
"node_modules/**/*.d.ts",
"node_modules/**/*.json",
"node_modules/**/*.css",
"node_modules/**/*.scss",
"node_modules/**/*.md",
],
exclude = [
"node_modules/**/test/**",
"node_modules/**/coverage/**",
],
),
)
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
# Wire up nx as a bazel executable
nodejs_binary(
name = "nx",
data = ["//:node_modules"],
entry_point = "//:node_modules/@nrwl/cli/bin/nx.js",
install_source_map_support = False,
)