update stream export name (esm build) (#2330)
This commit is contained in:
parent
c6d6afbdfa
commit
922093f1ba
1 changed files with 1 additions and 1 deletions
2
esm.js
2
esm.js
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue