Skip to content

Commit 23fd557

Browse files
committed
fix: no need for filegroup
1 parent cddc3ef commit 23fd557

File tree

1 file changed

+4
-11
lines changed
  • npm_packages/napi/src

1 file changed

+4
-11
lines changed

npm_packages/napi/src/BUILD

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,14 @@ copy_file(
6262
ts_project(
6363
name = "tsc",
6464
srcs = ["index.ts"],
65+
data = [
66+
":copy_binding",
67+
":copy_c_binding",
68+
],
6569
declaration = True,
6670
tsconfig = "//npm_packages:tsconfig",
6771
visibility = ["//visibility:public"],
6872
deps = [
6973
"//npm_packages/napi:node_modules/@types/node",
7074
],
7175
)
72-
73-
filegroup(
74-
name = "pkg_contents",
75-
srcs = [
76-
":copy_binding",
77-
":copy_c_binding",
78-
":index.d.ts",
79-
":index.js",
80-
],
81-
visibility = ["//npm_packages/napi:__pkg__"],
82-
)

0 commit comments

Comments
 (0)