babel / babel/babel-upgrade

Need logging to explain changes to the plugins spec

Open
#10 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Basically people are going to complain because the output from babel after updating may be larger than before because the defaults are spec behavior.

- If they use the plugin explicitly, we can opt-into "loose" for them
- If they don't, we just need to warn that the default is "spec" or "loose", etc.

Example:
-`template-literals` - default was previously "spec" -> `'a' + b` -> `"a".concat(b)`

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by locating the upgrade tool's handling of explicitly configured plugins and their defaults, then trace how it reports changes; done means users are warned when defaults such as "spec" or "loose" may make Babel output larger.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.