Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
require('some-es-package') does not fail as expected #325
First of all, thanks to all of you for your efforts! I am currently playing around with Node.js 12.0.0 and the new ESM implementation. One thing I have come across is that
"type": "module", "main": "index.js"
The call to
Slightly more full answer: Yes and no. The behavior will likely change. It should ideally be