.babelrc 734 Bytes
Newer Older
Reza Sahebgharan's avatar
Reza Sahebgharan committed
1 2 3 4 5 6 7 8 9 10 11 12 13
{
    "comments": false,
    "presets": [
        [
            "@babel/preset-env",
            {
                "targets": [
                    "last 2 versions"
                ]
            }
        ]
    ],
    "plugins": [
14
       
Reza Sahebgharan's avatar
Reza Sahebgharan committed
15 16 17 18 19 20 21 22 23
        [
            "@babel/plugin-transform-async-to-generator"
        ],
        [
            "@babel/plugin-proposal-class-properties"
        ],
        [
            "@babel/plugin-proposal-object-rest-spread"
        ],
24 25 26
        [
            "@babel/plugin-transform-spread"
        ],
Reza Sahebgharan's avatar
Reza Sahebgharan committed
27 28 29 30 31
        [
            "@babel/plugin-transform-runtime",
            {
                "regenerator": true
            }
32 33 34
        ],
        [
            "transform-remove-console"
Reza Sahebgharan's avatar
Reza Sahebgharan committed
35 36 37
        ]
    ]
}