In a project I\'m collaborating on, we have two choices on which module system we can use:
require
, and exporting using
The main advantages are syntactic:
You are unlikely to see any performance benefits with ES6 modules. You will still need an extra library to bundle the modules, even when there is full support for ES6 features in the browser.