Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(localenv): disable tsc declaration files#62680

Merged
jhchabran merged 6 commits into
mainfrom
jsm/disable-bazel-tsc-declarations
May 17, 2024
Merged

chore(localenv): disable tsc declaration files#62680
jhchabran merged 6 commits into
mainfrom
jsm/disable-bazel-tsc-declarations

Conversation

@jamesmcnamara

@jamesmcnamara jamesmcnamara commented May 14, 2024

Copy link
Copy Markdown
Contributor

Uses the flag --@aspect_rules_js//npm:exclude_declarations_from_npm_packages (documentation here) to prevent tsc from generating *.d.ts files for client packages. This should remove tsc from the build loop and allow swc to do everything locally.

However, the documentation indicates that this should be only used for local development.

Test plan

Experiment with having this value set locally.

@cla-bot cla-bot Bot added the cla-signed label May 14, 2024
@jamesmcnamara jamesmcnamara changed the title chore(ci): disable tsc declaration files chore(localenv): disable tsc declaration files May 15, 2024
@jamesmcnamara jamesmcnamara requested a review from a team May 15, 2024 01:03
@jamesmcnamara jamesmcnamara marked this pull request as ready for review May 15, 2024 18:20
@jhchabran jhchabran merged commit 5022b91 into main May 17, 2024
@jhchabran jhchabran deleted the jsm/disable-bazel-tsc-declarations branch May 17, 2024 08:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants