An ES6 module transpiler plugin for Mimosa build tool that uses Esperanto to convert ES6 module syntax (import/export) to AMD or CommonJS compatible JavaScript with inline source maps. Version 0.3.4 is the latest release; the package appears to be in maintenance mode, with no updates since 2015. It wraps the now-deprecated Esperanto library, which was a predecessor to Babel-like tools. Key differentiator: integrates directly with Mimosa's asset pipeline, allowing automatic transpilation during build. Alternative to Babel integration for Mimosa, but limited to module syntax transpilation only (no ES6 features like arrow functions, classes, etc.). Requires Node >=0.10.
npm install mimosa-esperanto-es6-modulesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure mimosa-esperanto-es6-modules in a Mimosa project to transpile ES6 modules to CommonJS.
Switch to a more modern transpiler like mimosa-babel or mimosa-es6-transpiler.
Use additional transpiler for other ES6 features, or migrate to a full-featured transpiler like Babel.
Use Node 0.10 to 0.12 for guaranteed compatibility, or upgrade to alternative plugin.
Enclose ES6 module syntax in backticks within CoffeeScript files.
Consider using mimosa-babel or mimosa-webpack.
Ensure esperanto is installed: npm install esperanto --save-dev, or run 'mimosa install' if using Mimosa's module system.
Add 'esperanto-es6-modules' to the modules array in mimosa-config.js.
Ensure the 'esperanto' property exists in the exported config object (e.g., esperanto: { type: 'amd' }).