Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
U/edgarivanv/fix false positives and not resolving nonindex files (#49)
Changed validations done to check if item was being unused. - If an import in the form of `import 'foo'` is being executed. - Added AsRef<str> implementation for `NapiLikeError` since newer versions of rust enforce that for `Result::Error`. - Added new version of `swc` that simplifies the dependency graph to only use `swc_core` and `swc_ecmascript`. - Fixed a problem with `resolve_ts_import` that marked import paths such as `./Foo.base` as `ResourceImport` instead to the referred file `./Foo.base.ts` which is a LocalProjectImport. - Added `unused.js` to test the tool on client web, also, added the list of entry points in client web.
- Loading branch information