Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: align js file extension logic with rules_ts #286

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

jbedard
Copy link
Member

@jbedard jbedard commented Dec 4, 2024

Partially in preparation for #270 where I hope to also fix the issue demonstrated in jfirebaugh/rules_ts@42bb97d.

This does fix one minor/uncommon issue when you have multiple input+output files only differing in extension (in.{jsx,mjs,cjs}), see the alt_js_out change.


Changes are visible to end-users: no

Test plan

  • Covered by existing test cases
  • New test cases added

@jbedard jbedard requested review from alexeagle and thesayyn December 4, 2024 01:20
@jbedard jbedard force-pushed the rules_ts-ext-align branch from c7eec68 to 883f874 Compare December 4, 2024 01:38
@jbedard jbedard requested a review from dzbarsky December 4, 2024 01:51
@jbedard jbedard enabled auto-merge (rebase) December 4, 2024 01:51
@jbedard jbedard merged commit 0fc9df4 into main Dec 4, 2024
11 checks passed
@jbedard jbedard deleted the rules_ts-ext-align branch December 4, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants