update stream export name (esm build) (#2330)

This commit is contained in:
Daniel Loomer 2018-12-04 15:11:38 -05:00 committed by Isiah Meadows
parent c6d6afbdfa
commit 922093f1ba

2
esm.js
View file

@ -63,5 +63,5 @@ fs.writeFileSync("stream/stream.mjs",
stream.indexOf("\"use strict\"") + 13, stream.indexOf("\"use strict\"") + 13,
stream.lastIndexOf("if (typeof module") stream.lastIndexOf("if (typeof module")
) )
+ "\nexport default createStream" + "\nexport default Stream"
) )