Browse Source

Export window.bitcore for browsers

patch-2
Esteban Ordano 10 years ago
parent
commit
3a0d6e8c89
  1. 3
      gulpfile.js

3
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'));

Loading…
Cancel
Save