v0.7.0
Better performance
ts-remove-unused is now much faster compared to v0.6. Our benchmark for excalidraw shows that its 1.5x faster 🚀
Change in internal architecture
The internal architecture has been changed to support edge cases and for future expansion.
breaking: skip comment will change for export declarations
Due to the internal change in logic, you will only be able to skip the whole export declaration.
// before
export {
// ts-remove-unused-skip
foo,
};
// after
// ts-remove-unused-skip
export { foo };
Minor Improvements
- An error will be throw if skip is not specified
What's Changed
Other Changes
- chore: delete branch pattern by @kazushisan in #51
- feat: replace find references with custom logic by @kazushisan in #50
- feat: polish output of CLI by @kazushisan in #52
- feat: exit and show error if skip is not used correctly by @kazushisan in #53
- docs: update readme by @kazushisan in #54
- Release v0.7.0 by @kazushisan in #49
Full Changelog: v0.6.2...v0.7.0