From 3a0d6e8c89e2c6ff1e1281ad09118bbcd86b37af Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Wed, 3 Dec 2014 10:20:39 -0300 Subject: [PATCH] Export window.bitcore for browsers --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 142f8db..d199636 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -96,7 +96,8 @@ gulp.task('lint', function() { gulp.task('browser', ['errors'], function() { return gulp.src('index.js') .pipe(browserify({ - insertGlobals: true + insertGlobals: true, + standalone: 'bitcore' })) .pipe(rename('bitcore.js')) .pipe(gulp.dest('browser'));