Open ben-page opened 5 years ago
Hi @ben-page!
Could you create a simple repro repo for me to investigate?
https://github.com/ben-page/esm-bug
Here you go. BTW, I only confirmed this is a bug on esm 3.2.22
and Node.js v12.1.0
.
Just run node i
or yarn
.
Then run node -r esm index.js
or node main.js
.
Thank you!
I'm trying to migrate to Node.js 12 and esm 3.2.22. I was using Node.js 10 and esm 3.0.8. I enable esm with
node -r esm
and use a.esmrc.js
config file..esmrc.js
Stack Trace
This doesn't happen if I delete
.esmrc.js
or switch to.esmrc.json
.