Open mk-pmb opened 3 years ago
I almost managed to make a fallback to native dynamic import where it's available. However, that's Promise-based, so I won't be able to make it compatible with the sync-ness expected from a require()
. How did you solve that time travel?
Hi! This is probably a dupe of #868 , but more boiled down, easier to replicate, because I'll include all code to reproduce.
If I understand the 3.2.25 readme correctly, this should work, right? On Ubuntu focal 64-bit, I make a new empty directory, then run in bash:
Unfortunately, it results in
Same if I make a file
main.mjs
and run that instead of-e
, like in "Getting started" way 2.