mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
gulp - fix brfs instrumentation
This commit is contained in:
parent
074e3f4ab4
commit
2efcbd9674
@ -11,7 +11,6 @@ var jsoneditor = require('gulp-json-editor')
|
||||
var zip = require('gulp-zip')
|
||||
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')
|
||||
@ -307,8 +306,6 @@ function bundleTask(opts) {
|
||||
.on('error', gutil.log.bind(gutil, 'Browserify Error'))
|
||||
// convert bundle stream to gulp vinyl stream
|
||||
.pipe(source(opts.filename))
|
||||
// gulp-level browserify transforms
|
||||
.pipe(brfs())
|
||||
// inject variables into bundle
|
||||
.pipe(replace('GULP_TOS_HASH', tosHash))
|
||||
.pipe(replace('\'GULP_METAMASK_DEBUG\'', debug))
|
||||
|
@ -31,7 +31,8 @@
|
||||
"es2015"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"brfs"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
@ -111,7 +112,6 @@
|
||||
"del": "^2.2.0",
|
||||
"fs-promise": "^1.0.0",
|
||||
"gulp": "github:gulpjs/gulp#4.0",
|
||||
"gulp-brfs": "^0.1.0",
|
||||
"gulp-if": "^2.0.1",
|
||||
"gulp-json-editor": "^2.2.1",
|
||||
"gulp-livereload": "^3.8.1",
|
||||
|
Loading…
Reference in New Issue
Block a user