@jeremistadler/unused-unloved
v1.0.5
Published
Find all the unused files ๐ by checking all unused imports in your React project (no need for a webpack plugin). List out all those files in a nice JSON file to do what you like with!
Downloads
3
Maintainers
Readme
unused-unloved
๐ณTree shaking is great but what happens when you have so many ๐files in your dev environment you can't remember which ones are actually in use๐ต๐คทโโ๏ธ๐คทโโ๏ธ and those that are currently dormant? Time for some spring cleaning, enter... unused-unloved๐๐ !
Once unused-unloved has run it will output an ๐unused-file-report.json
You can now use the contents of this folder to do as you wish, personally, I suggest copy and paste it into http://json2table.com/
Getting started is simple:
npm install -g unused-unloved
running is just as simple...
Open your React (or similar) project and make sure you are the same level as your /src folder and just run:
unused-unloved
Enjoy! ๐๐
unused-unloved created by Chris Watson - cwatson88โจ