Skip to content

Commit

Permalink
babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Sep 30, 2018
1 parent 2361dc9 commit fae50cf
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
{
"presets": [
"react",
"@babel/preset-react",
[
"env",
"@babel/preset-env",
{
// "modules": false,
"loose": true,
"modules": false,
"targets": {
"browsers": [
"> 5%"
]
}
}
],
"stage-2"
"@babel/preset-stage-2"
],
"plugins": [
"transform-runtime",
["@babel/plugin-transform-runtime", {
"helpers": true,
"polyfill": false,
"regenerator": true,
"moduleName": "@babel/runtime"
}],
// "styled-components",
"lodash"
]
Expand Down

0 comments on commit fae50cf

Please sign in to comment.