should output a file containing export { sym1, ..., symN, symDefault as default}.
Currently, this behavior can be achieved by assigning each exported symbol to globalThis in a preprocessing step and then replacing each such assignment in the compiled file to an export statement in a postprocessing step.
Support
export
statements from the entry point file. This will enable many requested features such aswhile giving the user precise control.
Given a file
When compiled with
should output a file containing
export { sym1, ..., symN, symDefault as default}
.Currently, this behavior can be achieved by assigning each exported symbol to
globalThis
in a preprocessing step and then replacing each such assignment in the compiled file to an export statement in a postprocessing step.