-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Milestone
Description
💻
- Would you like to work on this feature?
What problem are you trying to solve?
Reduce the bundle size of projects that depend on @babel/codeframe
Describe the solution you'd like
We are working on reducing the bundle size of Prettier, tracked in prettier/prettier#12144
In prettier/prettier#12144 (comment) @daKmoR suggested to switch Chalk in @babel/codeframe to colorette, which should reduce the size of the package by 19kB (as Chalk pulls in 20kB and colorette is 1kB)
Can we remove large dependencies from @babel/codeframe and reduce its disk footprint?
Describe alternatives you've considered
Keep Chalk and keep a large bundle
Documentation, Adoption, Migration Strategy
No response
ai and Josh-Cena
Metadata
Metadata
Assignees
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue