Closed nicolo-ribaudo closed 11 months ago
Given that export * as x from "./x" is already valid, this PR adds export defer * as x from "./x" as a shorthand for import defer * as __unique_x from "./x"; export { __unique_x as x };.
export * as x from "./x"
export defer * as x from "./x"
import defer * as __unique_x from "./x"; export { __unique_x as x };
The reason it was not included already is just that I forgot about it while writing the spec text. This addresses the second point of https://github.com/tc39/proposal-defer-import-eval/issues/18.
Given that
export * as x from "./x"
is already valid, this PR addsexport defer * as x from "./x"
as a shorthand forimport defer * as __unique_x from "./x"; export { __unique_x as x };
.The reason it was not included already is just that I forgot about it while writing the spec text. This addresses the second point of https://github.com/tc39/proposal-defer-import-eval/issues/18.