jamestalmage / jamestalmage/transform-chain

Rethink `extensions` option

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Are you ever going to have a chain of transforms on anything but `.js` extensions?
Even if you did, would you want a "chain" per extension?

Once you have converted `.coffee` => `.js`, you probably want to start at the top of the `.js` chain, not just apply the `.js` transforms that are downstream of wherever `coffee-script/register` happens to be in the chain.

Maybe there is no need for the concept of "extensions" in this lib. We already have the `match` option, which could achieve the same thing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how the existing `extensions` and `match` options work and how transform chains are selected. The issue does not identify files, tests, or a settled direction; done would require deciding whether to remove `extensions` or redefine its chaining semantics, then documenting and validating that decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.