diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-07-26 09:37:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 09:37:10 +0800 |
commit | 04f755a132e80fc018e42e2104f6c6feffeb183f (patch) | |
tree | c3f1e7a428cff016caa214712d49dead45ebf335 /gulpfile.js | |
parent | 11dfb8e869d425204512b250b00ef71ed85a14cc (diff) | |
parent | 0eb7354c1acc036452115351485d0fbc94b4bb08 (diff) | |
download | tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.tar tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.tar.gz tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.tar.bz2 tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.tar.lz tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.tar.xz tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.tar.zst tangerine-wallet-browser-04f755a132e80fc018e42e2104f6c6feffeb183f.zip |
Merge pull request #482 from MetaMask/FirefoxCompatibility
Fix inpage script race condition
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 941155ff4..e10a4eb7d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -8,6 +8,7 @@ var watch = require('gulp-watch') var sourcemaps = require('gulp-sourcemaps') var assign = require('lodash.assign') var livereload = require('gulp-livereload') +var brfs = require('gulp-brfs') var del = require('del') var eslint = require('gulp-eslint') var fs = require('fs') @@ -144,6 +145,7 @@ function bundleTask(opts) { // log errors if they happen .on('error', gutil.log.bind(gutil, 'Browserify Error')) .pipe(source(opts.filename)) + .pipe(brfs()) // optional, remove if you don't need to buffer file contents .pipe(buffer()) // optional, remove if you dont want sourcemaps |