Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable or clear cache #314

Open
dorshinar opened this issue Aug 21, 2023 · 0 comments
Open

Option to disable or clear cache #314

dorshinar opened this issue Aug 21, 2023 · 0 comments

Comments

@dorshinar
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant