Skip to content

Commit

Permalink
chore: remove 2015 preset and add env
Browse files Browse the repository at this point in the history
  • Loading branch information
hozefaj committed Feb 5, 2019
1 parent d5b6921 commit 738c552
Show file tree
Hide file tree
Showing 3 changed files with 866 additions and 717 deletions.
29 changes: 1 addition & 28 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
{
"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"]
}
Loading

0 comments on commit 738c552

Please sign in to comment.