Gulp plugin that compiles JavaScript files and all their dependencies (including ES6 modules) using Babel. Version 2.0.1 is the current stable, last updated in 2016 with low release cadence. It wraps babel-deps to handle commonjs/amd module resolution, unlike standalone gulp-babel which only transforms individual files. Recommended for legacy projects needing full dependency graph compilation.
npm install gulp-babel-depsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transforms all JS files and their ES6 dependencies using Babel presets and plugins.
Migrate to gulp-babel with babelify or use a more modern bundler like webpack/rollup.
Use gulp.src('src/**/*.js', { base: 'src' })Use separate pipes for other file types.
npm install babel-deps --save-dev
const babelDeps = require('gulp-babel-deps')