gobble-es6-transpiler

raw JSON →
0.1.2 verified Fri May 01 auth: no javascript abandoned

Gobble plugin to compile ES6 JavaScript files using es6-transpiler. Current version 0.1.2 (unmaintained since 2014). Release cadence: no active development. Key differentiators: integrates with the gobble build system and wraps es6-transpiler for ES6-to-ES5 transpilation. Alternatives: use modern tools like Babel or TypeScript with gobble-gobble or other build systems.

error Cannot find module 'es6-transpiler'
cause Missing dependency: es6-transpiler is not installed.
fix
Run npm install es6-transpiler as a dependency.
error TypeError: gobble(...).map is not a function
cause Incorrect gobble API or plugin not loaded.
fix
Ensure gobble version supports .map and require('gobble-es6-transpiler') is called before usage.
deprecated es6-transpiler is unmaintained and has known issues with modern JavaScript features.
fix Migrate to a modern transpiler like Babel with gobble-babel or use a different build system.
breaking The plugin may not work with newer versions of gobble (post-0.10.x API changes).
fix Check gobble compatibility or use an alternative plugin.
gotcha The `onError` option is undocumented; behavior may vary.
fix Handle errors via try-catch or rely on exceptions.
npm install gobble-es6-transpiler
yarn add gobble-es6-transpiler
pnpm add gobble-es6-transpiler

Shows how to use the plugin in a gobblefile: require the plugin and chain it with map.

const gobble = require('gobble');
require('gobble-es6-transpiler');
module.exports = gobble('js').map('es6-transpiler', {
  // es6-transpiler options
});