Skip to content

Commit

Permalink
fix to #1124
Browse files Browse the repository at this point in the history
  • Loading branch information
simonzack committed Feb 21, 2015
1 parent a18657c commit 875bf3a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,8 @@ Browserify.prototype._createDeps = function (opts) {

mopts.extensions = [ '.js', '.json' ].concat(mopts.extensions || []);
self._extensions = mopts.extensions;

//filter transforms on top-level
mopts.transform = [].concat(opts.transform)
.filter(Boolean)
.filter(self._filterTransform)
;


mopts.transform = [];
mopts.transformKey = [ 'browserify', 'transform' ];
mopts.postFilter = function (id, file, pkg) {
if (opts.postFilter && !opts.postFilter(id, file, pkg)) return false;
Expand Down

0 comments on commit 875bf3a

Please sign in to comment.