-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.babelrc
65 lines (65 loc) · 1.41 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"ignore": [
"**/dist/**/*.js*",
],
"presets": [
["env", {
"debug": false,
"modules": "commonjs",
"spec": false,
"targets": {
"browsers": [
"last 3 versions",
"safari >= 7",
// "Safari > 10%",
"not IE <= 6",
],
"chrome": 52,
"edge": 14,
"node": "4.0",
"uglify": true,
},
"useBuiltIns": false,
}],
["es2015", {
"loose": true,
"modules": false,
}],
"stage-0",
"react",
],
"plugins": [
["minify-dead-code-elimination", {
"keepClassName": true,
"keepFnArgs": true,
"keepFnName": true,
"optimizeRawSize": true,
"tdz": true,
}],
"react-hot-loader/babel",
"transform-async-to-generator",
"transform-class-properties",
"transform-decorators-legacy",
"transform-es2015-object-super",
"transform-es2015-template-literals",
"transform-es2015-typeof-symbol",
"transform-exponentiation-operator",
"transform-function-bind",
["babel-plugin-transform-builtin-extend", {
"globals": [
"Array",
"Date",
"DOM",
"Error",
],
"approximate": true,
}],
["transform-object-rest-spread", {
"useBuiltIns": false,
}],
"transform-remove-debugger",
"transform-optional-chaining",
"syntax-optional-chaining",
],
"sourceMaps": true,
}