Babel transformer for panto.
panto.loadTransformer('babel');
panto.pick('**/*.js').read().babel({
babelOptions: {
presets: []
},
ignoreError: false,
isSilent: false
});
- babelOptions: object, see here
- ignoreError: boolean, if fail when error
- isSilent: boolean, if log warnning message