Skip to content

Commit

Permalink
Expose LegacyTransportStream on index (#42)
Browse files Browse the repository at this point in the history
Expose LegacyTransportStream on index to allow bundlers to include the precompiled ES5 file.
Please see winstonjs/winston#1578
  • Loading branch information
Niels-Be authored and DABH committed May 23, 2019
1 parent c7ac369 commit 46db8f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,7 @@ TransportStream.prototype._nop = function _nop() {
// eslint-disable-next-line no-undefined
return void undefined;
};


// Expose legacy stream
module.exports.LegacyTransportStream = require('./legacy');

0 comments on commit 46db8f3

Please sign in to comment.