.babelrc 932 Bytes
Newer Older
Jaden's avatar
Jaden committed
1
2
{
        "plugins": [
3
4
5
                "@babel/plugin-syntax-flow",
                "@babel/plugin-proposal-object-rest-spread",
                "@babel/plugin-proposal-class-properties"
Jaden's avatar
Jaden committed
6
7
        ],
        "presets": [
8
		"@babel/preset-react",
Jaden's avatar
Jaden committed
9
                [
10
                        "@babel/preset-env",
Jaden's avatar
Jaden committed
11
12
13
14
15
16
17
18
19
20
                        {
                                "modules": false,
                                "debug": true,
                                "targets": {
                                        "browsers": [
                                                "last 1 Firefox versions",
                                                "last 1 Chrome versions"
                                        ]
                                }
                        }
21
22
                ],
                "@babel/preset-flow"
Jaden's avatar
Jaden committed
23
24
25
        ],
	"env": {
		"test": {
Jaden DIEFENBAUGH's avatar
Jaden DIEFENBAUGH committed
26
			"plugins": [
Jaden's avatar
Jaden committed
27
28
29
30
31
32
33
			]
		}
	},
	"ignore": [
		"node_modules"
	]
}