antoine-coulon / skott

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

Closed antoine-coulon closed 1 year ago

antoine-coulon commented 1 year ago

Fixes #30

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.