This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
ES6 Module Loader 0.16.0
- Transpilers now load as modules themselves (180852b, e23ad7e, d0fec4b, c309e11, adba021, 7ea47a8)
- Traceur and Babel are no longer direct project dependencies, improving startup time in NodeJS (a628d64)
- Blacklist can now be overridden (4d0e42c)
- Windows file system URLs always converted to use
/
(9ba5b86)
Upgrade Notes
- For use in NodeJS, it is important to manually install Traceur or Babel so that it can be found when required.
- For use in the browser, the transpilers will by default now be looked for in the baseURL path, and not the same folder as the module loader. The
data-traceur-src
anddata-babel-src
script attributes are no longer supported. Instead use paths -System.paths['traceur'] = 'path/to/traceur.js'
. - Transpilers are stored under the module names
traceur
andbabel
. If there is really a problem with these names clashing with existing names, changeSystem.transpiler = 'custom-babel'
to a new module name, which will be loaded instead, but this is not recommended.
See also https://github.com/ModuleLoader/es6-module-loader/wiki/Configuring-the-Loader#finding-the-transpiler.