thlorenz/es6ify — pull request #13 by bwalex (2013-12-22 10:13:43+00:00)
Title: ES6 module support

Hi,

not sure if it's something you'd want to merge in, but this pull request adds support for ES6 modules, so you can use 'module ... from ...', 'import ... from ...' and 'export ...'. They all get converted in traceur to commonjs modules, and then they get used in the usual ways by browserify.

The change to index.js is something that should've probably been separate - the way the code was before, it'd only do proper sourcemaps if you ran browserify in the same directory as your ES6 files or so - not really sure why the previous version ever worked.