Skip to content

Commit 73e68b9

Browse files
filipesilvamgechev
authored andcommittedApr 7, 2020
fix(@schematics/angular): include assets in ts library
1 parent fca831c commit 73e68b9

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed
 

‎packages/schematics/angular/BUILD.bazel

+11-8
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,18 @@ ts_library(
4747
"//packages/schematics/angular:" + src.replace(".json", ".ts")
4848
for (src, _) in ALL_SCHEMA_TARGETS
4949
],
50-
module_name = "@schematics/angular",
5150
# strict_checks = False,
51+
data = glob(
52+
include = [
53+
"collection.json",
54+
"package.json",
55+
"migrations/migration-collection.json",
56+
"*/schema.json",
57+
"*/files/**/*",
58+
"*/other-files/**/*",
59+
],
60+
),
61+
module_name = "@schematics/angular",
5262
deps = [
5363
"//packages/angular_devkit/core",
5464
"//packages/angular_devkit/schematics",
@@ -79,13 +89,6 @@ ts_library(
7989
"utility/test/**/*.ts",
8090
],
8191
),
82-
data = glob(
83-
include = [
84-
"**/*.json",
85-
"*/files/**",
86-
"*/other-files/**",
87-
],
88-
),
8992
# @external_begin
9093
tsconfig = "//:tsconfig-test.json",
9194
deps = [

0 commit comments

Comments
 (0)
Please sign in to comment.