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

ES6 Module Loader 0.17.0

Compare
Choose a tag to compare
@guybedford guybedford released this 04 Jun 14:37
· 299 commits to master since this release

Breaking Changes

  • Module names are now normalized as URLs in the default System implementation, with locate simply the identity operation.
    .js extensions are also no longer added by default.
    These changes are part of the transition into the new specification work. See the discussion at whatwg/loader#52 for further information.
    .js extension adding can easily be added back if needed with a custom hook.
  • __moduleAddress is no longer provided, just __moduleName now that this is a URL
  • Loader builds no longer include the promises polyfill, but do include the URL polyfill.
  • baseURL is no longer implemented. It can be replaced by wildcard paths - System.paths['*'] = '/path/*'

Features

  • TypeScript support (466616a)
  • New minimal loader build reducing the footprint from 9KB to a 6KB dev and 5KB production build (3df5de2)
  • Build with transpiler now renamed to es6-module-loader-dev, and loader without the transpiler es6-module-loader
  • System.import now allows direct parentName as second argument (1889e51)

Bugs