babel-preset-playlyfe

    4.1.0 • Public • Published

    Travis Codecov npm npm

    babel-preset-playlyfe

    Babel preset for Javascript(es2015, es2016) React projects.

    Install

    $ npm install --save-dev babel-preset-playlyfe
    $ yarn add --dev babel-preset-playlyfe

    Usage

    // .babelrc
    {
      "presets": ["playlyfe", options]
    }

    Options

    • flow - bool (default true) Enable flow support.

    • modules - 'amd' | 'umd' | 'systemjs' | 'commonjs' | false (default 'commonjs').

    • targets - same as babel-preset-env targets option

    • useBuiltIns - (default: true) same as babel-preset-env useBuiltIns option

    • asyncAwait - bool (default false) Enable async-await support (Note: need regeneratorRuntime).

    • react - bool (default true) Enable react support.

    • reactIntl - bool (default true) Enable react-intl support.

    • babelRuntime - bool (default true) Enable babel-plugin-transform-runtime plugin.

    • development - bool (default false) to enable dev mode

    Install

    npm i babel-preset-playlyfe

    DownloadsWeekly Downloads

    11

    Version

    4.1.0

    License

    MIT

    Unpacked Size

    12.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • mayank1791989