Eustia es6 transpiler
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.eustia
.gitignore
.npmignore
README.md
index.js
package.json

README.md

eustia-babel

Eustia Babel plugin.

Installation

npm install eustia-babel

Usage

npm install babel-preset-es2015

module.exports = {
    util: {
        files: 'index.html',
        extension: ['js', 'es6'],
        transpiler: [
            {
                test: /\.es6$/,
                handler: require('../index.js')({
                    presets: ['es2015']
                })
            }
        ]
    }
};