Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ac5732a

Browse files
committedMar 25, 2025
build: fix ts_project interop causing conflicting mappings
The `ts_project` interop currently conflicts with some mappings from e.g. `ts_library`. This can happen when the same target is transitively referenced via the interop, or directly in e.g. `ng_module` still.
1 parent d4cccb7 commit ac5732a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/bazel/ts_project_interop.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _ts_project_module_impl(ctx):
7777
LinkablePackageInfo(
7878
package_name = ctx.attr.module_name,
7979
package_path = "",
80-
path = "%s/%s/%s" % (ctx.bin_dir.path, ctx.label.workspace_root, ctx.label.package),
80+
path = "%s/%s" % (ctx.bin_dir.path, ctx.label.package),
8181
files = info.sources,
8282
),
8383
)

0 commit comments

Comments
 (0)
Please sign in to comment.