joonhocho/tscpaths

windows path replacement error

Closed this issue · 2 comments

rwson commented

on the Windows operating system, path alias will be compiled to backslash, but it is good on the Mac.
below is my screenshots

  • windows:
    windows

  • Mac:
    mac

and my useage is:
rimraf dist && tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist

rwson commented

upload image error, follow is my screenshoot on windows
windows

@rwson Just published a fix for it. Thank you!