Skip to content

Commit

Permalink
chore: add babel-preset-env instead of yearly presets
Browse files Browse the repository at this point in the history
  • Loading branch information
hjodiawlla committed Jun 26, 2019
1 parent d5b6921 commit 025714a
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 69 deletions.
35 changes: 7 additions & 28 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
{
"plugins": [
["transform-es2015-template-literals", { "loose": true }],
"transform-es2015-literals",
"transform-es2015-function-name",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
["transform-es2015-classes", { "loose": true }],
"transform-es2015-object-super",
"transform-es2015-shorthand-properties",
["transform-es2015-computed-properties", { "loose": true }],
["transform-es2015-for-of", { "loose": true }],
"transform-es2015-sticky-regex",
"transform-es2015-unicode-regex",
"check-es2015-constants",
["transform-es2015-spread", { "loose": true }],
"transform-es2015-parameters",
["transform-es2015-destructuring", { "loose": true }],
"transform-es2015-block-scoping",
"transform-es3-member-expression-literals",
"transform-es3-property-literals",
],
"env": {
"commonjs": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }],
]
},
}
"presets": [
["env", {
"targets": {
"ie": "11"
}
}]
]
}
Loading

0 comments on commit 025714a

Please sign in to comment.