zenparsing / es6now

ECMAScript 6 to 5 Compiler and Runtime Environment
MIT License
29 stars 2 forks source link

Require Function Should Load ES6 Packages #25

Closed zenparsing closed 10 years ago

zenparsing commented 10 years ago

Within the es6now environment, require(path) should be capable of loading ES6 packages, if it resolves to a folder and that folder contains a "default.js" entry point.

zenparsing commented 10 years ago

This would be a breaking change for current Node programs. Killing it.