Skip to content

Commit

Permalink
Update to Babel v7
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Nov 27, 2019
1 parent 2a66bba commit e82f514
Show file tree
Hide file tree
Showing 8 changed files with 1,649 additions and 1,320 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

4 changes: 4 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": [ "@babel/env" ]
, "babelrcRoots": [ ".", "client" ]
}
7 changes: 3 additions & 4 deletions client/.babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"presets": [ "env" ]
, "plugins": [
"transform-object-rest-spread"
, ["transform-react-jsx", {"pragma": "Snabbdom.createElement"}]
presets: [ "@babel/env" ]
, plugins: [
["@babel/plugin-transform-react-jsx", {"pragma": "Snabbdom.createElement"}]
]
}
Loading

0 comments on commit e82f514

Please sign in to comment.