Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.55 KB

README.md

File metadata and controls

33 lines (28 loc) · 1.55 KB

panto-transformer-babel

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

Babel transformer for panto.

panto.loadTransformer('babel');

panto.pick('**/*.js').read().babel({
    babelOptions: {
        presets: []
    },
    ignoreError: false,
    isSilent: false
});

options:

  • babelOptions: object, see here
  • ignoreError: boolean, if fail when error
  • isSilent: boolean, if log warnning message