Named exports handling
guybedford opened this issue · 1 comments
guybedford commented
If named exports are to be supported we can handle this by building up the list of exports, and then only altering the output to export these bindings if the __esModule export is found by its various possible structures.
Bindings for this don't need to be live updated which is useful, so it's a very easy output of the form export const exportName = exports.exportName; ...
.
guybedford commented
Currently this is off the table, can reopen if it comes up again for Node.