mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Add node_modules\.bin to path.
Fixes browserify task when browserify isn't installed globally.
This commit is contained in:
3
Jakefile
3
Jakefile
@@ -17,6 +17,9 @@ var LKGDirectory = "bin/";
|
||||
var copyright = "CopyrightNotice.txt";
|
||||
var thirdParty = "ThirdPartyNoticeText.txt";
|
||||
|
||||
// add node_modules to path so we don't need global modules, prefer the modules by adding them first
|
||||
process.env.path = path.resolve("./node_modules/.bin/") + path.delimiter + process.env.path;
|
||||
|
||||
var compilerSources = [
|
||||
"core.ts",
|
||||
"sys.ts",
|
||||
|
||||
Reference in New Issue
Block a user