r/javascript • • Apr 23 '19

Introducing Node.js 12

https://medium.com/@nodejs/introducing-node-js-12-76c41a1b3f3f
333 Upvotes

85 comments sorted by

View all comments

91

u/[deleted] Apr 23 '19

ES6 Module Support!

8

u/ShortFuse Apr 24 '19

Do I still need to use Michael Jackson Script file extension?

I've been using the esm package, but I would like to be able to remove the dependency?

3

u/[deleted] Apr 24 '19

You don't. If you add "type": "module" to your package.json, plain .js will work too.