secundant / neodx

A collection of frontend-focused tools aimed at enhancing your development experience
MIT License
80 stars 6 forks source link

`@neodx/svg` - Implement caching during builds to significantly reduce cold start times #117

Open secundant opened 1 year ago

secundant commented 1 year ago

Expected behavior

Problems

The primary issue is a large number of icons without regular updates. In this scenario, users will wait for seconds without any benefit.

The secondary issue is the inability to clean previous build artifacts, which can be encountered in watch mode or during multiple builds with different icons. As a result, users will see the following picture: telegram-cloud-photo-size-2-5397643292927185233-x

Notes

The caching mechanism should be shared with @neodx/figma.