From 2efcbd9674be56984de596cd0272fb380a30609e Mon Sep 17 00:00:00 2001 From: kumavis Date: Tue, 10 Jan 2017 15:33:00 -0800 Subject: [PATCH] gulp - fix brfs instrumentation --- gulpfile.js | 3 --- package.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d0e8a2ced..1ea431aef 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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)) diff --git a/package.json b/package.json index ad9cf8f9b..17c3e3dcc 100644 --- a/package.json +++ b/package.json @@ -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",