You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Closure compiler is stripping off the default exports. Facing this problem with emscripten generated ES6 code.
When are we getting this feature ? Or at-least a workaround ?
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.The text was updated successfully, but these errors were encountered: