mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
9f4820ee98
* wip * build - breakout sentry-install bundle * deps - move new build sys deps to published versions * chore: lint fix * clean - remove unused file * clean - remove unsused package script * lavamoat - update build system policy * build - render html to all platforms * development - improve sourcemap debugger output * deps - update lavapack * lint - fix * deps - update lavapack for bugfix * deps - update lavapack for bugfix * deps - bump lavapack for line ending normalization * sourcemap explorer - disable boundary validation * ci - reset normal ci flow * build - re-enable minification on prod * build - remove noisy log about html dest * build - update terser and remove gulp wrapper for sourcemap fix * Revert "sourcemap explorer - disable boundary validation" This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162. * build - reenable react-devtools in dev mode * wip * build - breakout sentry-install bundle * deps - move new build sys deps to published versions * chore: lint fix * clean - remove unused file * clean - remove unsused package script * lavamoat - update build system policy * build - render html to all platforms * development - improve sourcemap debugger output * deps - update lavapack * lint - fix * deps - update lavapack for bugfix * deps - update lavapack for bugfix * deps - bump lavapack for line ending normalization * sourcemap explorer - disable boundary validation * ci - reset normal ci flow * build - re-enable minification on prod * build - remove noisy log about html dest * build - update terser and remove gulp wrapper for sourcemap fix * Revert "sourcemap explorer - disable boundary validation" This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162. * build - reenable react-devtools in dev mode * Updating lockfile * lint fix * build/dev - patch watchifys incompatible binary stats output * ui - add comment about conditional import * build - improve comment * Update development/stream-flat-map.js Co-authored-by: Brad Decker <git@braddecker.dev> * Outputting all bundle file links (metamaskbot) Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Brad Decker <git@braddecker.dev>
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
diff --git a/node_modules/watchify/index.js b/node_modules/watchify/index.js
|
|
index 0753b9f..4fea9e1 100644
|
|
--- a/node_modules/watchify/index.js
|
|
+++ b/node_modules/watchify/index.js
|
|
@@ -58,33 +58,6 @@ function watchify (b, opts) {
|
|
if (pkgcache) pkgcache[file] = pkg;
|
|
});
|
|
|
|
- b.on('reset', reset);
|
|
- reset();
|
|
-
|
|
- function reset () {
|
|
- var time = null;
|
|
- var bytes = 0;
|
|
- b.pipeline.get('record').on('end', function () {
|
|
- time = Date.now();
|
|
- });
|
|
-
|
|
- b.pipeline.get('wrap').push(through(write, end));
|
|
- function write (buf, enc, next) {
|
|
- bytes += buf.length;
|
|
- this.push(buf);
|
|
- next();
|
|
- }
|
|
- function end () {
|
|
- var delta = Date.now() - time;
|
|
- b.emit('time', delta);
|
|
- b.emit('bytes', bytes);
|
|
- b.emit('log', bytes + ' bytes written ('
|
|
- + (delta / 1000).toFixed(2) + ' seconds)'
|
|
- );
|
|
- this.push(null);
|
|
- }
|
|
- }
|
|
-
|
|
var fwatchers = {};
|
|
var fwatcherFiles = {};
|
|
var ignoredFiles = {};
|