We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33be2bf commit 42665dfCopy full SHA for 42665df
index.js
@@ -88,7 +88,7 @@ module.exports = function (browserify, options) {
88
options = options || {};
89
90
// if no root directory is specified, assume the cwd
91
- var rootDir = options.rootDir || browserify._options.basedir || options.d;
+ var rootDir = options.rootDir || options.d || browserify._options.basedir;
92
if (rootDir) { rootDir = path.resolve(rootDir); }
93
if (!rootDir) { rootDir = process.cwd(); }
94
0 commit comments