-
-
Notifications
You must be signed in to change notification settings - Fork 79
Description
What is the current behavior?
Hi,
ts_config rule at the moment does not allow to specify data dependencies.
Describe the feature
My tsconfig.json sets the following options:
"types": ["node", "./types/typings"]
and I have a file types/typings.d.ts which adds some extra types for my ts project.
How do I ensure that when building the ts_config rule, the types/typings.d.ts file is present in the output directory?
Usually one might create a filegroup and add it as a data dependency, but ts_config has no data dependency.
Adding the filegroup as a deps does not result in the file being present in the output folder.
So what is the intended solution here? How do I make sure that the when building the ts_config target, both the tsconfig.json and the types/typings.d.ts file are present the bazel-bin output directory?