hanai / fis-parser-es6-babel

A parser plugin for fis to turn ES6+ code into ES5 friendly code with babel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fis-parser-es6-babel

NPM version Dependency Status License

A parser plugin for fis to turn ES6+ code into ES5 friendly code with babel.

Usage

$ npm install -g fis
$ npm install -g fis-parser-es6-babel

fis-conf.js

fis

fis.config.set('project.fileType.text', 'es6');
fis.config.set('modules.parser.es6', 'es6-babel');
fis.config.set('roadmap.ext.es6', 'js');

fis3

fis.set('project.fileType.text', 'es6');
fis.match('*.es6', {
    rExt: '.js',
    parser: fis.plugin('es6-babel', {})
});

License

MIT

About

A parser plugin for fis to turn ES6+ code into ES5 friendly code with babel.

License:MIT License


Languages

Language:JavaScript 100.0%