A Grunt task for processing ES6 module import/export syntax into AMD, CommonJS, or globals using the es6-module-transpiler. Current stable version: 0.5.0. Released infrequently, last update 2013. Differentiators: integrates with Grunt build system, offers transpile:enable task to temporarily enable ES6 modules for other tasks. Note: outdated and unmaintained, the underlying transpiler is superseded by Babel.
npm install grunt-es6-module-transpiler-rhenglesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the transpile task and configures it to convert ES6 modules to CommonJS.
Migrate to @babel/preset-env or @babel/plugin-transform-modules-commonjs with Grunt via grunt-babel.
Switch to expect.js or another assertion library that works in strict mode.
Use a compatible Node version or migrate to a modern transpiler.
npm install es6-module-transpiler --save-dev
Ensure grunt-es6-module-transpiler is installed and grunt.loadNpmTasks('grunt-es6-module-transpiler'); is called.Add a transpile configuration block in grunt.initConfig as shown in the docs.