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'
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'