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
Yes, ESM allows renaming imports, but it doesn' not allow surrounding them with quotes or something that would allow any name to be imported and renamed.
Currently, this would result in a syntax error:
import{ "+" as add } from "./module.wasm";
How would this be handed?
The text was updated successfully, but these errors were encountered:
Oh perfect, beat me to it.
It seems to have already passed the proposal stage and is already being worked on implementation?
If so, I'll close this issue as it is no longer true.
Example:
A JavaScript module imports a Wasm module, the Wasm module is as follows:
How does JavaScript import that?
Yes, ESM allows renaming imports, but it doesn' not allow surrounding them with quotes or something that would allow any name to be imported and renamed.
Currently, this would result in a syntax error:
How would this be handed?
The text was updated successfully, but these errors were encountered: