Skip to content

Commit 50c9386

Browse files
committed
backport env variable change
1 parent 0bf97a1 commit 50c9386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readable.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ exports.Writable = require('./lib/_stream_writable.js');
66
exports.Duplex = require('./lib/_stream_duplex.js');
77
exports.Transform = require('./lib/_stream_transform.js');
88
exports.PassThrough = require('./lib/_stream_passthrough.js');
9+
if (!process.browser && process.env.READABLE_STREAM === 'disable') {
10+
module.exports = require('stream');
11+
}

0 commit comments

Comments
 (0)