|
1 | 1 | {
|
| 2 | + "presets": [ |
| 3 | + [ |
| 4 | + "env", |
| 5 | + { |
| 6 | + "targets": { |
| 7 | + "browsers": [ |
| 8 | + "ie >= 11" |
| 9 | + ] |
| 10 | + }, |
| 11 | + "exclude": ["transform-async-to-generator", "transform-regenerator"], |
| 12 | + "modules": false, |
| 13 | + "loose": true |
| 14 | + } |
| 15 | + ] |
| 16 | + ], |
2 | 17 | "plugins": [
|
3 |
| - ["transform-es2015-template-literals", { "loose": true }], |
4 |
| - "transform-es2015-literals", |
5 |
| - "transform-es2015-function-name", |
6 |
| - "transform-es2015-arrow-functions", |
7 |
| - "transform-es2015-block-scoped-functions", |
8 |
| - ["transform-es2015-classes", { "loose": true }], |
9 |
| - "transform-es2015-object-super", |
10 |
| - "transform-es2015-shorthand-properties", |
11 |
| - ["transform-es2015-computed-properties", { "loose": true }], |
12 |
| - ["transform-es2015-for-of", { "loose": true }], |
13 |
| - "transform-es2015-sticky-regex", |
14 |
| - "transform-es2015-unicode-regex", |
15 |
| - "check-es2015-constants", |
16 |
| - ["transform-es2015-spread", { "loose": true }], |
17 |
| - "transform-es2015-parameters", |
18 |
| - ["transform-es2015-destructuring", { "loose": true }], |
19 |
| - "transform-es2015-block-scoping", |
20 |
| - "transform-object-rest-spread", |
21 |
| - "transform-es3-member-expression-literals", |
22 |
| - "transform-es3-property-literals" |
| 18 | + "transform-object-rest-spread" |
23 | 19 | ],
|
24 | 20 | "env": {
|
25 | 21 | "commonjs": {
|
26 |
| - "plugins": [ |
27 |
| - ["transform-es2015-modules-commonjs", { "loose": true }] |
| 22 | + "presets": [ |
| 23 | + [ |
| 24 | + "env", |
| 25 | + { |
| 26 | + "loose": true |
| 27 | + } |
| 28 | + ] |
28 | 29 | ]
|
29 | 30 | },
|
30 | 31 | "es": {
|
|
0 commit comments