All-in-one devtool to automatically analyze, search and visualize project modules and dependencies from JavaScript, TypeScript (JSX/TSX) and Node.js (ES6, CommonJS)
MIT License
669
stars
25
forks
source link
fix: resolve TypeScript specific relative module imports with no leading identifiers #31
Resolve relative imports with no leading identifiers e.g: import lib from "libs";
TypeScript supports this type of import when specifying a baseUrl in the compilerOptions of the tsconfig.json file.
[X] when using an entrypoint e.g: skott entrypoint.ts
[x] when using a bulk analysis without providing any entrypoint e.g:skott
Fixes #30
Resolve relative imports with no leading identifiers e.g:
import lib from "libs"
; TypeScript supports this type of import when specifying abaseUrl
in thecompilerOptions
of the tsconfig.json file.skott entrypoint.ts
skott