Skip to content

Support babel transform options

Choose a tag to compare

@azu azu released this 12 Mar 02:57
· 77 commits to master since this release

Babel has many transform options.

espower-babel support babel transform options with .babelrc

espower-babel read ${cwd}/.babelrc if exists.

also can manually configure babel transform options.

require('espower-babel')({
    babelrc: {
        experimental: true
    }
})

Thanks @mohayonao


use case