parcel-bundler / parcel-bundler/lightningcss
Variable name minification
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.7k
- Forks
- 302
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure if this is inline with project goals but I've noticed modern CSS has a lot of very long variable names. If variables are declared in the same file it is somewhat safe to rename the variable names to something shorter.
It's worth noting that shorter variable names are often not that useful for assets that are gzipped because Gzip does this optimization.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue rationale alongside the repository description and its stated minifier goals. Determine whether renaming CSS variables declared in the same file is in scope and how gzip affects the benefit. Done means a settled approach and clearly defined behavior, but the issue names no files, tests, or entry points.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100