Closed rafaeelaudibert closed 1 month ago
My codebase has a lot of lazy loading through React using dynamic imports.
ts-remove-unused doesn't detect them and considers the imported files to be unused. For reference, https://github.com/stauren/vite-plugin-deadfile detects them just fine.
ts-remove-unused
@rafaeelaudibert I think its not limited to react.lazy but more about dynamic imports in general. thanks for reporting! will work on a fix
My codebase has a lot of lazy loading through React using dynamic imports.
ts-remove-unused
doesn't detect them and considers the imported files to be unused. For reference, https://github.com/stauren/vite-plugin-deadfile detects them just fine.