resolvewithplus
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "resolvewithplus", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license" : "MIT", | ||
@@ -5,0 +5,0 @@ "main": "src/resolvewithplus.js", |
@@ -75,3 +75,3 @@ // Filename: resolvewith.js | ||
return o.isfilesync(jsonfile) && (jsonfile = require(jsonfile)) && | ||
((opts && opts.browser && jsonfile.browser) || jsonfile.main); | ||
((opts && opts.browser && jsonfile.browser && jsonfile.browser['index.js']) || jsonfile.main); | ||
}; | ||
@@ -78,0 +78,0 @@ |
13263