.babelrc 689 Bytes
Newer Older
Phyks (Lucas Verney)'s avatar
Phyks (Lucas Verney) committed
1
{
Phyks (Lucas Verney)'s avatar
Phyks (Lucas Verney) committed
2 3 4 5 6
    "env": {
        "test": {
            "presets": [
                "@babel/preset-env"
            ],
7 8 9 10 11 12 13 14 15
            "plugins": [
                "@babel/plugin-transform-modules-commonjs",
                ["module-resolver", {
                    "root": ["./src"],
                    "alias": {
                        "@": "./src"
                    }
                }]
            ]
Phyks (Lucas Verney)'s avatar
Phyks (Lucas Verney) committed
16 17
        }
    },
18
    "presets": [
19 20 21 22
        [
            "@babel/preset-env",
            {
                "modules": false,
23 24
                "useBuiltIns": "usage",
                "corejs": 3
25 26 27 28
            }
        ]
    ],
    "plugins": [
29
        "@babel/plugin-syntax-dynamic-import"
30
    ]
Phyks (Lucas Verney)'s avatar
Phyks (Lucas Verney) committed
31
}