-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with new babel not compiling panda-session
See relevant discussion jestjs/jest#6053 (comment)
- Loading branch information
RichieAHB
committed
Apr 30, 2018
1 parent
df86261
commit 214ab91
Showing
2 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
] | ||
}; |