Skip to content

[Bug]: #710 changed copy_runfiles_to_bin behavior of ts_project if transpiler is set #716

Open
@gzm0

Description

@gzm0

What happened?

When upgrading to 3.2.1 (from 3.2.0) the copy_runfiles_to_bin behavior of ts_project changes when transpiler is set:

ts_project(
  data = ["my-file.txt"],
  transpiler = swc,
)

Up until 3.2.0, my-file.txt gets copied to bin. After 3.2.1, it doesn't anymore (due to the refactor in #710).

Somewhat ironically, I expect this will fix #411 (there is more information in that bug for why this happens), but it is a breaking change.

Version

Development (host) and target OS/architectures:

Output of bazel --version: bazel 7.3.1

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: 3.2.0 / 3.2.1

Language(s) and/or frameworks involved: None.

How to reproduce

No response

Any other information?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed: discussionWe have to do some design work in a meeting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions