Open aleksandrrf opened 2 months ago
In case of using import.meta.glob without flag {eager: true}, it is not working.
{eager: true}
globalThis.resolveMomentumModal = async (name) => { const modals = import.meta.glob('./Pages/**/*.jsx'); return await modals[`./Pages/${name}/index.jsx`](); }
Errors:
I fixed the issue on this PR. Please check it.
Thanks.
Hey! Thanks for the fix, I'll give it a try and merge asap 🤝
@josemariagomez Do you have any plans to merge this PR ?
In case of using import.meta.glob without flag
{eager: true}
, it is not working.Errors:
I fixed the issue on this PR. Please check it.
Thanks.