Closed guybedford closed 2 years ago
Ah thanks, yes closing. Wdyt re progress there? I'm tempted to consider proposing Node.js ban all trailing slash resolutions otherwise for ESM.
Yeah, I don't think we have any new information that would change the calculus over there...
There is an old Node.js pattern whereby a
require('pkg/')
import style is permitted to resolve.if trying to support such a map in import maps via:
the browser console gives the error:
If such a pattern were to remain used in Node.js ES modules, it might make sense to still consider supporting these cases resolving. //cc @hiroshige-g