Skip to content

Commit

Permalink
Big but uneventful upgrade to Babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mqp committed Feb 22, 2019
1 parent 529d973 commit dfc08da
Show file tree
Hide file tree
Showing 3 changed files with 4,234 additions and 2,023 deletions.
11 changes: 6 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
"react",
["env", {
"@babel/react",
["@babel/env", {
"exclude": ["transform-regenerator"],
"targets": {
"browsers": [
Expand All @@ -21,13 +21,14 @@
"not op_mini all",
]
},
"useBuiltins": true
// false = do not polyfill stuff unneccessarily
"useBuiltIns": false
}]
],
"plugins": [
[ "react-intl", { "messagesDir": "./public/messages", "enforceDescriptions": false } ],
"transform-react-jsx-img-import",
"transform-class-properties",
"transform-object-rest-spread"
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
]
}
Loading

0 comments on commit dfc08da

Please sign in to comment.