Ember addon that uses Rollup to bundle ES6/ES2015 runtime dependencies for ember-cli addons. Version 3.0.0 is the latest stable release. Developed primarily by asakusuma, it wraps addon exports so that ES module dependencies can be imported under a namespaced path (e.g., 'my-addon/my-module'). Supports custom Rollup entry points and optional opt-out of namespacing for shared modules. Handles Babel transpilation automatically. Suitable for ember-cli addon authors needing to bundle modern JavaScript dependencies. The package is a utility function, not a typical Ember addon, and requires Node 10+.
npm install ember-rollupVerified import paths — ran on the pinned version, not inferred.
Shows basic usage of ember-rollup to wrap an addon's index.js with runtime dependencies.
Upgrade Node to 10+ and ensure rollup.config.js is not relied upon; ember-rollup handles rollup internally.
If using a package with only `jsnext:main`, it still works but consider migrating to `module`.
Use `rollupEntry` option to manually specify an ES module entry point.
Set `namespaced: false` on the dependency config to force a single version in the app.
Run `npm install --save ember-rollup` or add it to `dependencies` in package.json.
Verify the package has an ES module entry or set `rollupEntry` to a valid path.