You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this happens only when you use a dict() in tsconfig attribute.
Version
Development (host) and target OS/architectures: OSX
Output of bazel --version: 5.2.0
Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file: v1.0.0-rc4
Language(s) and/or frameworks involved: NA
How to reproduce
- create a global.d.ts file and have it used in inputs (eg https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-d-ts.html#global-library-template)
- create a ts_project rule and include all sources
Any other information?
Diff between generated tsconfig of rules_ts (above) and what tsc would use (below):
Fund our work
Sponsor our open source work by donating a bug bounty
The text was updated successfully, but these errors were encountered:
What happened?
Some ts projects may have global.d.ts files in sources.
Currently they seem to not be included when writing the ts_config rule.
https://github.com/aspect-build/rules_ts/blob/main/ts/private/ts_config.bzl#L67
So this happens only when you use a
dict()
intsconfig
attribute.Version
Development (host) and target OS/architectures: OSX
Output of
bazel --version
: 5.2.0Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: v1.0.0-rc4Language(s) and/or frameworks involved: NA
How to reproduce
- create a global.d.ts file and have it used in inputs (eg https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-d-ts.html#global-library-template) - create a ts_project rule and include all sources
Any other information?
Diff between generated tsconfig of rules_ts (above) and what
tsc
would use (below):Fund our work
The text was updated successfully, but these errors were encountered: