spencermountain / unrequired

find unused javascript files in your project
108 stars 8 forks source link

multiple inputs #4

Open Dema opened 5 years ago

Dema commented 5 years ago

Right now unrequired takes 1 entry file for scanning dependencies. For it to work with frameworks like next.js or gatsby we need to have multple entry points. It would be great if it can take multiple globs as an input. Something like npx unrequired 'pages/**/*.js' 'tests/**/*.js'

spencermountain commented 5 years ago

i agree! good idea.