jantimon / jantimon/css-variable

Unify Babel & SWC

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
91
Forks
7
PR merge metrics
No merged PRs in 30d

Description

After the latest commits to this project I'm really hooked to improve it further.

One aspect that I noticed that bugs me is that when you switch from Babel to SWC or vice versa, there will be changes for the names of the variables (with and without `displayNames`).

I have a branch that changes the tests so that the interoperability is checked and I started with changing the babel plugin logic (to be the same as in SWC), because I think the visual names in SWC are much better.

I wanted to ask if this direction is generally a good idea or do you see issues?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing Babel plugin logic and the branch's interoperability tests, then compare variable-name behavior with SWC for cases with and without displayNames. Done would require an agreed direction for unifying the naming behavior and tests that verify Babel and SWC interoperability.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
build-system, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.