.babelrc 532 Bytes
Newer Older
Thomas Roos's avatar
Thomas Roos committed
1 2 3 4 5 6
{
    "presets":[
        "react",
        "flow"
    ],
    "plugins": [
7
        "syntax-dynamic-import",
8
        "transform-class-properties",
Thomas Roos's avatar
Thomas Roos committed
9 10
        "transform-object-rest-spread",
        "react-hot-loader/babel"
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
    ],
    "env": {
        "test": {
            "presets":[
                [   "env",
                    {
                        "modules": "commonjs"
                    }
                ]
            ],
            "plugins": [
                "transform-class-properties"
            ]
        }
    }
}