Skip to content

Commit

Permalink
[React Test Example] Fixed babel to example tests (#8963)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinyvicente authored and SimenB committed Sep 18, 2019
1 parent bc0f55d commit 1693028
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/react/.babelrc.js
Expand Up @@ -2,4 +2,12 @@

module.exports = {
presets: ['@babel/preset-env', '@babel/preset-react'],
"plugins": [
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
]
]
};
1 change: 1 addition & 0 deletions examples/react/package.json
Expand Up @@ -8,6 +8,7 @@
},
"devDependencies": {
"@babel/core": "*",
"@babel/plugin-proposal-class-properties": "*",
"@babel/preset-env": "*",
"@babel/preset-react": "*",
"babel-jest": "*",
Expand Down

0 comments on commit 1693028

Please sign in to comment.