Skip to content

Version 7.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 08 Aug 11:15
· 18 commits to master since this release

Major

  • Changed the function findUnusedExports option moduleGlob and the CLI command find-unused-exports argument --module-glob default value from **/{!(*.d).mts,!(*.d).cts,!(*.d).ts,*.{mjs,cjs,js,tsx}} to **/{!(*.d).mts,!(*.d).cts,!(*.d).ts,*.{mjs,cjs,js,jsx,tsx}}; .jsx files are now recursively matched by default.

Minor

  • Enable JSX syntax when parsing .jsx files with Babel, even when the project has no Babel config for JSX, via #8.

Patch

  • Fixed a namespace import not causing the default export to be considered used.
  • Improved the internal module MODULE_GLOB tests.