Replies: 2 comments 2 replies
-
|
Hi, I am not sure I fully understand the question. The module system is provided by Metro, not by Hermes, so Metro needs to support it. For some context why the module system cannot be provided by Hermes, please see the discussion here: #1382. So, even if Hermes did support |
Beta Was this translation helpful? Give feedback.
-
|
Ah, so stuff like module resolution should be provided outside of Hermes, so that's out. As a start however, would it be possible to just allow references to will continue to work, instead of the current hermes behavior of erroring out here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
ESM builds of a number of libraries depend on
import.meta. Asmetroalso has support for reading exports (albeit unstable), and if enabled, the default config from expo picks up ESM, this becomes an issue. Support forimport.metacannot be checked at runtime since hermes blocks its use completely.Beta Was this translation helpful? Give feedback.
All reactions