Skip to content

Commit

Permalink
Add r_js as a command line alias in addition to r.js
Browse files Browse the repository at this point in the history
`r.js` doesn't work on Windows. Because of the js extension, Windows tries to execute a program associated with js files, that's why to actually run r.js, it's necessarily to type `r.js.cmd` in the command line.
  • Loading branch information
thorn0 committed Dec 18, 2015
1 parent e0b1b4e commit 407d978
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
},
"main": "./bin/r.js",
"bin": {
"r.js": "./bin/r.js"
"r.js": "./bin/r.js",
"r_js": "./bin/r.js"
},
"engines": {
"node": ">=0.4.0"
Expand Down

0 comments on commit 407d978

Please sign in to comment.