A broccoli filter that transpiles ES6 modules to AMD, CJS, or UMD formats. It supports both 1-to-1 (per-file) and n-to-1 (bundled) transpilation using the esperanto library. Version 1.2.3 is the latest release, but the project is unmaintained as the Ember CLI team has moved to broccoli-babel-transpiler and ember-cli-babel. Key differentiator: it was designed specifically for the broccoli build tool and provides a simple API for ES6 module transpilation, though it lacks ongoing support and may not work with modern Node versions.
npm install broccoli-es6modulesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to transpile a source tree of ES6 modules to AMD format using broccoli-es6modules.
Migrate to broccoli-babel-transpiler or ember-cli-babel.
Provide bundleOptions with entry and name when using format: 'umd'.
Switch to a modern transpiler like Babel.
Run npm install broccoli-es6modules --save-dev
Use const ES6Modules = require('broccoli-es6modules');Add bundleOptions: { entry: 'main.js', name: 'myLib' } to options.No dependency data recorded yet.