-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.babelrc
31 lines (31 loc) · 1.15 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
{
/*"presets": ["es2015", { "loose": true, "modules": false }, "es2016"],*/
"plugins": [
/* https://babeljs.io/docs/plugins/preset-es2015/ */
/* https://github.com/babel/babel/blob/master/packages/babel-preset-es2015/src/index.js */
"check-es2015-constants",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
"transform-es2015-block-scoping",
"transform-es2015-classes",
"transform-es2015-computed-properties",
"transform-es2015-destructuring",
"transform-es2015-duplicate-keys",
"transform-es2015-for-of",
"transform-es2015-function-name",
"transform-es2015-literals",
/* Rollup doesn't like this. */
/*"transform-es2015-modules-commonjs",*/
"transform-es2015-object-super",
"transform-es2015-parameters",
"transform-es2015-shorthand-properties",
"transform-es2015-spread",
"transform-es2015-sticky-regex",
"transform-es2015-template-literals",
/*"transform-es2015-typeof-symbol",*/
"transform-es2015-unicode-regex",
"transform-regenerator",
/* https://babeljs.io/docs/plugins/preset-es2016/ */
"transform-exponentiation-operator"
]
}