siddharthkp / cost-of-modules

Find out which of your dependencies are slowing you down 🐢
MIT License
2.84k stars 41 forks source link

Ignore specific packages with flag #70

Open khromov opened 1 year ago

khromov commented 1 year ago

👋 I'm using this package together with SvelteKit. Since it uses a compiler + bundler approach, most dependencies are put in devDependencies because they get bundled during build and are not required at runtime. The --include-dev flag works great, but there are also some dependencies that aren't very useful to see, like typescript for example - nothing can be done about this dependency. So it would be great if it was possible to add --ignore=typescript,eslint to remove those packages from the list to reduce clutter.

siddharthkp commented 1 year ago

Hi!

That's a good idea, but I am not actively improving this library anymore. I would be happy to take a pull request though