aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-04-14 07:20:37 +0800
committerDan Finlay <somniac@me.com>2016-04-14 07:20:37 +0800
commit54f13b31ecceadf3571765cb9e022b1108a68c36 (patch)
tree8d5ce999cac9b9f32f7e76fe749f185019a06f10 /gulpfile.js
parent9f1438b85b3dac8f1dd98f7bd6e101035cfce0a5 (diff)
parentb05e458ac2463c66751776466e05b8d0d7c21746 (diff)
downloadtangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.gz
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.bz2
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.lz
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.xz
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.zst
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.zip
Merge pull request #105 from MetaMask/MergeWithUI
Merge metamask-ui into metamask plugin
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 0d72c3d41..dabf49f7c 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -31,7 +31,7 @@ gulp.task('copy:images', copyTask({
destination: './dist/images',
}))
gulp.task('copy:reload', copyTask({
- source: './app/scripts/',
+ source: './app/scripts/',
destination: './dist/scripts',
pattern: '/chromereload.js',
}))
@@ -93,7 +93,6 @@ function copyTask(opts){
}
}
-
function bundleTask(opts) {
var browserifyOpts = assign({}, watchify.args, {
entries: ['./app/scripts/'+opts.filename],
@@ -101,6 +100,7 @@ function bundleTask(opts) {
})
var bundler = browserify(browserifyOpts)
+ bundler.transform('brfs')
if (opts.watch) {
bundler = watchify(bundler)
bundler.on('update', performBundle) // on any dep update, runs the bundler
@@ -121,7 +121,7 @@ function bundleTask(opts) {
.pipe(buffer())
// optional, remove if you dont want sourcemaps
.pipe(sourcemaps.init({loadMaps: true})) // loads map from browserify file
- // Add transformation tasks to the pipeline here.
+ // Add transformation tasks to the pipeline here.
.pipe(sourcemaps.write('./')) // writes .map file
.pipe(gulp.dest('./dist/scripts'))
.pipe(livereload())