grunt-es6-transpiler

v1.0.2
Transpile ES6 to ES5
gruntplugin es5 es6 ecmascript ecmascript6 harmony javascript js transform and 10 more...

grunt-es6-transpiler Build Status

Transpile ES6 to ES5 with es6-transpiler

Issues with the output should be reported on the es6-transpiler issue tracker.

Install

$ npm install --save-dev grunt-es6-transpiler

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
    es6transpiler: {
        dist: {
            files: {
                'dist/app.js': 'src/app.js'
            }
        }
    }
});

grunt.registerTask('default', ['es6transpiler']);

Options

Use the es6-transpiler options, except for filename, src, outputToConsole, outputFilename.

License

MIT © Sindre Sorhus

npm i grunt-es6-transpiler

Metadata

  • MIT
  • >=0.10.0
  • Sindre Sorhus
  • released 2/24/2015

Downloads

Maintainers