TypeStrong / tsify

Browserify plugin for compiling TypeScript
344 stars 75 forks source link

fix Host.prototype._addFile read relative file path error #244

Open chopdown opened 5 years ago

chopdown commented 5 years ago

use canonical path for reading file. if cwd is not project workspace, relative filename will cast read error.

cartant commented 5 years ago

Sorry. It seems I've managed to overlook the notification for this PR. If you're able to give me a quick description of how I can reproduce the problem that this solves, I'll verify it and merge it.