justkey007 / tsc-alias

Replace alias paths with relative paths after typescript compilation
MIT License
880 stars 63 forks source link

Path aliasing issue with tsc-alias since v1.4.2 #229

Open KarlG-03 opened 1 month ago

KarlG-03 commented 1 month ago

BUG REPORT

Error when importing mqtt

Error: Cannot find module '../mqtt'

minimal reproducible example

Workaround

hristovdev commented 1 month ago

I am facing the same issue. It seems tsc-alias replaces imports like the one in the report even if tsconfig's paths are empty