mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-11 17:41:26 -06:00
Add node_modules\.bin to path.
Fixes browserify task when browserify isn't installed globally.
This commit is contained in:
parent
9bb17a66cd
commit
69d7a1085d
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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user