-
Notifications
You must be signed in to change notification settings - Fork 5
/
.babelrc
44 lines (44 loc) · 1.28 KB
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"env": {
"test": {
"presets": [
["@babel/preset-env", {"useBuiltIns": "usage","corejs": 3, "bugfixes": true, "forceAllTransforms": true}],
["@babel/preset-react", {"useBuiltIns": true}],
"jest"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-async-to-generator",
"@babel/plugin-transform-modules-commonjs",
"@babel/plugin-transform-shorthand-properties",
"babel-plugin-transform-inline-consecutive-adds",
"babel-plugin-minify-constant-folding",
"babel-plugin-minify-flip-comparisons",
"babel-plugin-transform-merge-sibling-variables"
],
"ignore": [
"/(node_modules|bower_components)/",
"**/build/**/*",
"**/public/**/*",
"**/webpack/**/*",
"**/.github/**/*",
"**/coverage/**/*",
".eslintrc",
".stylelintrc",
".prettierrc",
".browserslistrc",
".editorconfig",
"babel.babel.custom.config.js",
"vendors.js",
"postcss.config.js",
"webpack.config.js",
"package.json",
"package-lock.json",
"README.md",
"LICENSE.md",
".gitignore"
]
}
}
}