Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
feat(jest): move to babel@7 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Lyashuk committed Jul 17, 2019
1 parent 0e628f9 commit 4fea3ea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .babelrc

This file was deleted.

25 changes: 25 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: false,
targets: {
browsers: [
'> 1%',
'last 2 versions',
'not ie <= 8',
],
},
},
],
],
comments: false,
env: {
test: {
presets: [
'@babel/preset-env',
],
},
},
};

0 comments on commit 4fea3ea

Please sign in to comment.