{"id":25693,"library":"gulp-es6-module-transpiler","title":"gulp-es6-module-transpiler","description":"Gulp plugin for the ES6 Module Transpiler, a tool that converts ES6 module syntax (import/export) to CommonJS or AMD. Version 0.2.2 is the latest, released in 2015. The plugin integrates the es6-module-transpiler into Gulp build pipelines. It supports configuration of formatters (bundle, commonjs), base path, import paths, and source maps. Key differentiators: it was part of the early ES6 module transpilation ecosystem, but it is now deprecated due to the adoption of Babel and other modern transpilers. The underlying transpiler is no longer maintained, and the plugin has not received updates since 2015.","status":"deprecated","version":"0.2.2","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/ryanseddon/gulp-es6-module-transpiler","tags":["javascript","gulpplugin","gulp","es6","module","transpile","commonjs"],"install":[{"cmd":"npm install gulp-es6-module-transpiler","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-es6-module-transpiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-es6-module-transpiler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core transpilation engine","package":"es6-module-transpiler","optional":false},{"reason":"Peer dependency for Gulp plugin","package":"gulp","optional":false}],"imports":[{"note":"The package uses CommonJS; ESM import may fail.","wrong":"import transpile from 'gulp-es6-module-transpiler';","symbol":"gulp-es6-module-transpiler (default)","correct":"var transpile = require('gulp-es6-module-transpiler');"},{"note":"Access built-in formatters via this property.","wrong":null,"symbol":"formatters","correct":"var formatters = require('gulp-es6-module-transpiler').formatters;"},{"note":"The default export is the plugin function, not a named export.","wrong":"var transpile = require('gulp-es6-module-transpiler').default;","symbol":"transpile function (default)","correct":"var transpile = require('gulp-es6-module-transpiler');"}],"quickstart":{"code":"var gulp = require('gulp');\nvar transpile = require('gulp-es6-module-transpiler');\n\ngulp.task('build', function() {\n    return gulp.src('src/**/*.js')\n        .pipe(transpile({\n            formatter: 'bundle'\n        }))\n        .pipe(gulp.dest('lib'));\n});","lang":"javascript","description":"Basic usage: pipe ES6 module files through the transpiler, outputting bundled CommonJS modules."},"warnings":[{"fix":"Use modern transpilers like Babel or TypeScript.","message":"Package is deprecated: no updates since 2015, underlying es6-module-transpiler is unmaintained.","severity":"deprecated","affected_versions":">=0"},{"fix":"Use an AMD formatter package like es6-module-transpiler-amd-formatter for AMD output.","message":"Only 'bundle' and 'commonjs' formatters are supported with es6-module-transpiler >=0.9.0.","severity":"gotcha","affected_versions":">=0.2.0"},{"fix":"Specify formatter explicitly: 'bundle' or 'commonjs'.","message":"The plugin outputs one file per input file for formatter 'commonjs', but 'bundle' combines all files.","severity":"gotcha","affected_versions":">=0.2.1"},{"fix":"Update es6-module-transpiler to >=0.5.0.","message":"Version 0.2.0 broke compatibility with es6-module-transpiler <0.5.0.","severity":"breaking","affected_versions":"0.2.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: npm install es6-module-transpiler","cause":"Missing peer dependency es6-module-transpiler.","error":"Error: Cannot find module 'es6-module-transpiler'"},{"fix":"Use one of: 'bundle', 'commonjs', or a valid formatter object/constructor.","cause":"Invalid formatter name passed to transpile options.","error":"TypeError: Cannot read property 'formatter' of undefined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}