Skip to content

Commit 18ef896

Browse files
committed
Bump Commoner version to disable dependency scanning by default.
If you are using bin/jsx independently, you may need to pass --follow-requires to it if you rely on its dependency scanning. Dependency scanning is still a good idea, but it's difficult to make it work perfectly for everyone the first time they try bin/jsx. Closes facebook#131.
1 parent e748be3 commit 18ef896

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

grunt/tasks/jsx.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = function() {
1111
var args = [
1212
"--cache-dir", ".module-cache",
1313
"--relativize",
14+
"--follow-requires",
1415
config.sourceDir,
1516
config.outputDir
1617
];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"dependencies": {
3838
"base62": "~0.1.1",
39-
"commoner": "~0.7.1",
39+
"commoner": "~0.8.0",
4040
"esprima": "https://github.com/facebook/esprima/tarball/a3e0ea3979eb8d54d8bfade220c272903f928b1e",
4141
"recast": "~0.4.8",
4242
"source-map": "~0.1.22"

0 commit comments

Comments
 (0)