gulp - fix brfs instrumentation

feature/default_network_editable
kumavis 8 years ago
parent 074e3f4ab4
commit 2efcbd9674
  1. 3
      gulpfile.js
  2. 4
      package.json

@ -11,7 +11,6 @@ var jsoneditor = require('gulp-json-editor')
var zip = require('gulp-zip') var zip = require('gulp-zip')
var assign = require('lodash.assign') var assign = require('lodash.assign')
var livereload = require('gulp-livereload') var livereload = require('gulp-livereload')
var brfs = require('gulp-brfs')
var del = require('del') var del = require('del')
var eslint = require('gulp-eslint') var eslint = require('gulp-eslint')
var fs = require('fs') var fs = require('fs')
@ -307,8 +306,6 @@ function bundleTask(opts) {
.on('error', gutil.log.bind(gutil, 'Browserify Error')) .on('error', gutil.log.bind(gutil, 'Browserify Error'))
// convert bundle stream to gulp vinyl stream // convert bundle stream to gulp vinyl stream
.pipe(source(opts.filename)) .pipe(source(opts.filename))
// gulp-level browserify transforms
.pipe(brfs())
// inject variables into bundle // inject variables into bundle
.pipe(replace('GULP_TOS_HASH', tosHash)) .pipe(replace('GULP_TOS_HASH', tosHash))
.pipe(replace('\'GULP_METAMASK_DEBUG\'', debug)) .pipe(replace('\'GULP_METAMASK_DEBUG\'', debug))

@ -31,7 +31,8 @@
"es2015" "es2015"
] ]
} }
] ],
"brfs"
] ]
}, },
"dependencies": { "dependencies": {
@ -111,7 +112,6 @@
"del": "^2.2.0", "del": "^2.2.0",
"fs-promise": "^1.0.0", "fs-promise": "^1.0.0",
"gulp": "github:gulpjs/gulp#4.0", "gulp": "github:gulpjs/gulp#4.0",
"gulp-brfs": "^0.1.0",
"gulp-if": "^2.0.1", "gulp-if": "^2.0.1",
"gulp-json-editor": "^2.2.1", "gulp-json-editor": "^2.2.1",
"gulp-livereload": "^3.8.1", "gulp-livereload": "^3.8.1",

Loading…
Cancel
Save