fix submodule browserify

This commit is contained in:
Manuel Araoz 2015-01-15 15:53:18 -03:00
parent e8b682f289
commit b63376b1ed
1 changed files with 2 additions and 2 deletions

View File

@ -96,10 +96,10 @@ function startGulp(name, opts) {
var browserifyCommand;
if (isSubmodule) {
browserifyCommand = './node_modules/.bin/browserify --require index.js:' + fullname + ' --external bitcore -o ' + fullname + '.js';
browserifyCommand = './node_modules/.bin/browserify --require ./index.js:' + fullname + ' --external bitcore -o ' + fullname + '.js';
console.log(browserifyCommand);
} else {
browserifyCommand = './node_modules/.bin/browserify --require index.js:bitcore -o bitcore.js';
browserifyCommand = './node_modules/.bin/browserify --require ./index.js:bitcore -o bitcore.js';
}
gulp.task('browser:uncompressed', shell.task([