Skip to content

Commit

Permalink
Fix issue with new babel not compiling panda-session
Browse files Browse the repository at this point in the history
See relevant discussion jestjs/jest#6053 (comment)
  • Loading branch information
RichieAHB committed Apr 30, 2018
1 parent df86261 commit 214ab91
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
19 changes: 0 additions & 19 deletions client-v2/.babelrc

This file was deleted.

19 changes: 19 additions & 0 deletions client-v2/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
presets: [
[
'@babel/env',
{
useBuiltIns: 'usage',
targets: {
browsers: ['chrome >= 49', 'firefox >= 48', 'safari >= 10', '> 1%']
}
}
],
'@babel/react',
'@babel/flow'
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'transform-class-properties'
]
};

0 comments on commit 214ab91

Please sign in to comment.