Skip to content

Commit 46e875b

Browse files
authored
Merge pull request #113 from eugeneware/fix_global_option
allow global option via command line
2 parents 435bc88 + f7d6e94 commit 46e875b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = function (browserify, options) {
9494
if (!rootDir) { rootDir = process.cwd(); }
9595

9696
var transformOpts = {};
97-
if (options.global) {
97+
if (options.global || options.g) {
9898
transformOpts.global = true;
9999
}
100100

0 commit comments

Comments
 (0)