Skip to content

Commit 46db8f3

Browse files
Niels-BeDABH
authored andcommitted
Expose LegacyTransportStream on index (#42)
Expose LegacyTransportStream on index to allow bundlers to include the precompiled ES5 file. Please see winstonjs/winston#1578
1 parent c7ac369 commit 46db8f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,7 @@ TransportStream.prototype._nop = function _nop() {
209209
// eslint-disable-next-line no-undefined
210210
return void undefined;
211211
};
212+
213+
214+
// Expose legacy stream
215+
module.exports.LegacyTransportStream = require('./legacy');

0 commit comments

Comments
 (0)