browserify / static-module

convert module usage to inline expressions
MIT License
74 stars 23 forks source link

Use output.write instead of output.push, fixes #14 #46

Closed goto-bus-stop closed 6 years ago

goto-bus-stop commented 6 years ago

In #14, something like the below happens:

By doing output.write instead, we always go through output's buffer when necessary, i.e. take the same path as .pipe().

Not quite sure how to test this just yet…!