Skip to content

Commit 6e8d2a9

Browse files
committed
Add a file that matches the glob in the exports
1 parent 2c7ae25 commit 6e8d2a9

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

language/js/tests/npm_package_deps_lib/exports-js/BUILD.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ js_library(
1111
"//exports-js/bin:tsc",
1212
"//exports-js/lib:tsc",
1313
"//exports-js/lib2:tsc",
14+
"//exports-js/stars:tsc",
1415
],
1516
)

language/js/tests/npm_package_deps_lib/exports-js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"private": true,
44
"exports": {
55
".": {
6-
"node": "./lib/lib.js",
7-
"default": "./lib2/lib2.js"
6+
"node": "./lib/lib.js",
7+
"default": "./lib2/lib2.js"
88
},
99
"./bin": "./bin/main.js",
10-
"./stars/*": "./other/*.js"
10+
"./stars/*": "./stars/*.js"
1111
}
1212
}

language/js/tests/npm_package_deps_lib/exports-js/stars/BUILD.in

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
load("@aspect_rules_js//js:defs.bzl", "js_library")
2+
3+
js_library(
4+
name = "tsc",
5+
srcs = ["abc.js"],
6+
)

language/js/tests/npm_package_deps_lib/exports-js/stars/abc.js

Whitespace-only changes.

0 commit comments

Comments
 (0)