Closed
Description
Thanks for this super cool project!
In RefreshModule.runtime.js
, const
are injected in runtime code and will not be transpiled (since it's a loader injected code).
This is critical in old browser that do not support const
in strict mode for example.
Elsewhere in the codebase i've seen a supportsConst
method that seems to handle this specific case, maybe the code injected by RefreshModule.runtime.js
should do the same.
Metadata
Metadata
Assignees
Labels
No labels