Skip to content

Commit

Permalink
devops/1137 - upgrades to babel 7 and updates gulp tasks
Browse files Browse the repository at this point in the history
* slims down suggested babel plugins and presets
  • Loading branch information
n8rzz authored and erikquinn committed Nov 28, 2018
1 parent 8a666dc commit 849c02a
Show file tree
Hide file tree
Showing 5 changed files with 7,154 additions and 7,705 deletions.
17 changes: 12 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"presets": ["es2015", "react", "stage-0"],
"plugins":[
"transform-class-properties",
"transform-object-rest-spread"
]
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
"@babel/plugin-proposal-optional-chaining"
]
}
Loading

0 comments on commit 849c02a

Please sign in to comment.