Not a Package Manager

    babel-preset-accelerator

    1.0.0 • Public • Published

    babel-preset-accelerator

    Collection of Babel presets and plugins for all the development environments

    Installation

    You'll install babel-preset-accelerator:

    $ npm install babel-preset-accelerator --save-dev
    

    Note: If you installed ESLint globally (using the -g flag) then you must also install babel-preset-accelerator globally.

    Usage

    Add accelerator to the plugins section of your .babelrc configuration file. You can omit the babel-preset- prefix:

    For React without transform-runtime

    {
        "presets": [
            "accelerator"
        ]
    }

    For with transform-runtime

    {
        "presets": [
            "accelerator/latest"
        ]
    }

    For Nodejs

    {
        "presets": [
            "accelerator/node"
        ]
    }

    For Webpack with React & transform-runtime & enabled the Tree shaking

    {
        "presets": [
            "accelerator/webpack"
        ]
    }

    License

    MIT

    Install

    npm i babel-preset-accelerator

    DownloadsWeekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • sku146