Skip to content

Commit ffd8834

Browse files
hozefajtimdorr
authored andcommitted
chore: add babel-preset-env instead of yearly presets (#236)
1 parent cea3103 commit ffd8834

File tree

3 files changed

+243
-69
lines changed

3 files changed

+243
-69
lines changed

.babelrc

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,9 @@
11
{
2-
"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-es3-member-expression-literals",
21-
"transform-es3-property-literals",
22-
],
23-
"env": {
24-
"commonjs": {
25-
"plugins": [
26-
["transform-es2015-modules-commonjs", { "loose": true }],
27-
]
28-
},
29-
}
2+
"presets": [
3+
["env", {
4+
"targets": {
5+
"ie": "11"
6+
}
7+
}]
8+
]
309
}

0 commit comments

Comments
 (0)