Added function to resolve files including their extension using swc's module resolver.
Changed logic in unused-finder to be entry-point aware in order to avoid files being marked as unused when they act as entries for the application.
Added Graph and GraphFile to track used and unused files and the items within them.
Added BFS'like import/export solving for Graph.
TODO: This iteration removes capacity to identify specific exported items prioritizing finding files never imported.
TODO: Add recursive solving for export {...} from '...'
Added function to resolve files including their extension using swc's module resolver.
Changed logic in unused-finder to be entry-point aware in order to avoid files being marked as unused when they act as entries for the application.
Added
Graph
andGraphFile
to track used and unused files and the items within them.Added BFS'like import/export solving for
Graph
.TODO: This iteration removes capacity to identify specific exported items prioritizing finding files never imported. TODO: Add recursive solving for
export {...} from '...'