- Drop support for EOLed versions of node. See package.json for supported versions.
- Use
@babel/present-env
instead ofbabel-preset-es2015
- Upgrade
rollup
- Drop support for node v4 and v9 to align with node LTS
- Support scoped packages.
- Added option 'rollupEntry' to explicitly specify module entry for rollup.
- Support both
jsnext:main
and module inpackage.json
sections. - Switch to yarn
- Play nice with existing
treeForAddon
andtreeForVendor
hook usage.
- Support "prebuilding" dependencies when publishing, so host apps don't have to build rollup dependencies on every build.
- Support choosing whether or not to namespace module names.
- Support npm namespaces like
import myModule from 'my-addon/@my-namespace/my-module'
.
- Namespace module names to the addon.
import RSVP from 'rsvp'
becomesimport RSVP from 'my-addon/rsvp'
.