You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi :)
First of all I wanted to say that import cost is a very cool tool to use when working with external libraries!
Lately I was working on a library at work and wanted to make sure that tree-shaking was working correctly so I used import-cost to get a good sense if I'm in the right direction or not.
It went really well, but I do have a small request - to have the option to disable or clear the cache manually. I couldn't find anything in the docs about it, but it would make my life easier.
My trick to overcome this was to continually change the package.json#version to random numbers to trigger recalculations, but I'd love a built-in way to achieve that as well.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi :)
First of all I wanted to say that import cost is a very cool tool to use when working with external libraries!
Lately I was working on a library at work and wanted to make sure that tree-shaking was working correctly so I used import-cost to get a good sense if I'm in the right direction or not.
It went really well, but I do have a small request - to have the option to disable or clear the cache manually. I couldn't find anything in the docs about it, but it would make my life easier.
My trick to overcome this was to continually change the
package.json#version
to random numbers to trigger recalculations, but I'd love a built-in way to achieve that as well.Thank you!
The text was updated successfully, but these errors were encountered: