tpope / vim-apathy

apathy.vim: Set the 'path' option for miscellaneous file types
180 stars 9 forks source link

Add .mjs for ESM modules in node #1

Closed maxnordlund closed 6 years ago

maxnordlund commented 6 years ago

Node uses .mjs to distinguish between commonjs and ES6 modules. This makes it possible to support both require and import/export natively in node.

See https://nodejs.org/api/esm.html for more info

tpope commented 6 years ago

Thanks!

maxnordlund commented 6 years ago

No problem :)