Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

ES6 Module Loader 0.16.0

Compare
Choose a tag to compare
@guybedford guybedford released this 24 Mar 18:26
· 304 commits to master since this release

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 and data-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 and babel. If there is really a problem with these names clashing with existing names, change System.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.