Skip to content
Browse files

fix field test by deleting the browserify field after using it

  • Loading branch information...
1 parent 81fd552 commit e69abfc25de58a4034940657e211d0063d27d575 @substack committed Mar 31, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 index.js
View
1 index.js
@@ -282,6 +282,7 @@ Browserify.prototype.pack = function (debug, standalone) {
var packageFilter = function (info) {
if (typeof info.browserify === 'string' && !info.browser) {
info.browser = info.browserify;
+ delete info.browserify;
}
return info;
};

0 comments on commit e69abfc

Please sign in to comment.
Something went wrong with that request. Please try again.