Closed TrySound closed 2 years ago
This is another take to make vite install size smaller.
Currently vite bundles two instances of chalk. v2 from this package and v4 in own code.
Both are quite big
https://packagephobia.com/result?p=chalk@2.4.2 https://packagephobia.com/result?p=chalk@4.1.2
I suggest to replace it with micropackage which became quite popular recently
https://packagephobia.com/result?p=picocolors https://www.npmtrends.com/picocolors
@sodatea @yyx990803 Would it be possible to release new version? I want to use it in vite.
Yeah, in a few hours.
This is another take to make vite install size smaller.
Currently vite bundles two instances of chalk. v2 from this package and v4 in own code.
Both are quite big
https://packagephobia.com/result?p=chalk@2.4.2 https://packagephobia.com/result?p=chalk@4.1.2
I suggest to replace it with micropackage which became quite popular recently
https://packagephobia.com/result?p=picocolors https://www.npmtrends.com/picocolors