{"id":26492,"library":"toranb-grunt-es6-module-transpiler","title":"grunt-es6-module-transpiler","description":"A Grunt task for transpiling ES6 module import/export syntax into AMD, CommonJS, YUI, or globals. Current version 0.5.0 (released Oct 2013) supports es6-module-transpiler v0.3.0. Legacy plugin for Grunt 0.4.x with no updates since 2013. Key differentiator: allowed early ES6 module transpilation in Grunt builds but is now outdated; replaced by modern tools like Babel. Requires peer dependency grunt ~0.4.1. Not maintained.","status":"deprecated","version":"0.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","gruntplugin"],"install":[{"cmd":"npm install toranb-grunt-es6-module-transpiler","lang":"bash","label":"npm"},{"cmd":"yarn add toranb-grunt-es6-module-transpiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add toranb-grunt-es6-module-transpiler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for plugin loading and configuration","package":"grunt","optional":false}],"imports":[{"note":"Plugin is loaded via grunt.loadNpmTasks, not imported directly. Configuration is set in Gruntfile.","wrong":"const transpile = require('grunt-es6-module-transpiler')","symbol":"Gruntfile config","correct":"grunt.initConfig({ transpile: { ... } })"}],"quickstart":{"code":"module.exports = function(grunt) {\n  grunt.initConfig({\n    transpile: {\n      main: {\n        type: 'amd',\n        files: [{\n          expand: true,\n          cwd: 'lib/',\n          src: ['**/*.js'],\n          dest: 'tmp/'\n        }]\n      }\n    }\n  });\n  grunt.loadNpmTasks('grunt-es6-module-transpiler');\n  grunt.registerTask('default', ['transpile']);\n};","lang":"javascript","description":"Gruntfile configuration that transpiles ES6 modules from lib/ to AMD format in tmp/."},"warnings":[{"fix":"Migrate to a current transpiler (e.g., @babel/preset-env with Grunt or standalone).","message":"Package unmaintained since 2013. Use modern tooling like Babel or esbuild.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Remove usage of transpile:enable; the feature no longer exists.","message":"v0.5.0 removed transpile:enable task due to es6-module-transpiler v0.3.0 changes.","severity":"breaking","affected_versions":">=0.5.0"},{"fix":"Use expect.js or other assertion libraries that don't rely on non-strict features.","message":"Strict mode is enforced; Chai's arguments.callee usage will cause errors.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Add grunt.loadNpmTasks('grunt-es6-module-transpiler'); after initConfig.","cause":"Missing grunt.loadNpmTasks('grunt-es6-module-transpiler') in Gruntfile.","error":"Warning: Task \"transpile\" not found"},{"fix":"Ensure each target has a files array with src and dest (or expand pattern).","cause":"Missing files configuration in the transpile target.","error":"TypeError: Cannot read property 'files' of undefined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}