Thank you for a great library. It keeps my project in order.
Overview
Want to extract unused files, including image files.
Problem & Suggestion
The library searches for and extracts unused files from JavaScript and TypeScript files based on their dependencies, but it does not cover files such as images and CSS. There is a possibility that images and CSS files may remain unused.
So how about adding an option to change the extensions of files that can be referenced?
https://github.com/pacocoursey/next-unused/blob/b6cc23d6e17707bdd4186e8d764b8c012d4d7c17/index.js#L84
Thank you for a great library. It keeps my project in order.
Overview
Want to extract unused files, including image files.
Problem & Suggestion
The library searches for and extracts unused files from JavaScript and TypeScript files based on their dependencies, but it does not cover files such as images and CSS. There is a possibility that images and CSS files may remain unused. So how about adding an option to change the extensions of files that can be referenced? https://github.com/pacocoursey/next-unused/blob/b6cc23d6e17707bdd4186e8d764b8c012d4d7c17/index.js#L84