ModuleSpecifier: include ".js" or not?

Axel Rauschmayer axel at rauschma.de
Tue Apr 14 15:16:57 UTC 2015


In Node.js you can either mention the file extension ".js" or omit it when you require a module. Which one is preferred for ES6 ModuleSpecifiers?

Thanks!

Axel

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150414/03c4b2ec/attachment.html>


More information about the es-discuss mailing list