Closed domenic closed 11 years ago
+1 so I don't have to do this anymore:
// trick deoptimizer into thinking we are somewhere else
var orig_process_cwd = process.cwd;
process.cwd = function () { return path.join(__dirname, '../../../../../'); }
var deoptimized = deoptimize(bundle);
process.cwd = orig_process_cwd;
Cool, thanks.
Should it be an option what directory module IDs are resolved relative to, or...?