@meteorjs/reify
Version:
Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.
10 lines (8 loc) • 405 B
Markdown
Drawbacks
* Only works with CommonJS module systems that are very similar to Node's module system.
* Adds some overhead to module evaluation.
* ~~Affects every yet-to-be required module in the Node process.~~<br>
_Only modules in packages that explicitly depend on `reify`._
* Not a general solution for other kinds of JavaScript compilation.
* Not a solution for asynchronous module loading, yet.