dominikg / tsconfck

A utility to find and parse tsconfig files without depending on typescript
Other
290 stars 14 forks source link

fix: improve replacement to work with extending from node_modules #189

Closed dominikg closed 3 weeks ago

dominikg commented 3 weeks ago

fixes #188

The issue was rebaseRelative prepending segments in front of ${configDir} and the replacer at the end did not work with that.

Fixed by skipping rebaseRelative if value starts with ${configDir}

Zamiell commented 3 weeks ago

i would recommend depending on complete-tsconfig instead of isaacscript-tsconfig, since I intend to change isaacscript-tsconfig in the future, and then dependobot would cause your test to fail i think.