repro:
// index.js
import { foo2 } from './bar'
// bar.js
export const foo = true
// with esm default options
node -r esm index.js
the std/esm v0.25.4 line still throws (tested with mode: "js")
Hi @dnalborczyk!
This is part of the cjs interop. I can experiment with disabling this though as I've been bit by not getting notified of missing exports too.
I thought I tried to turn off cjs interop for the above to test in v3 as well if I'm not mistaken. I might have to check that again ...
that would be a REALLY nice to have if technically feasible, otherwise it unfortunately removes one of the advantages of using esmodules :confused:
v3.0.8 is released 馃帀
Most helpful comment
v3.0.8 is released 馃帀