Skip to content

Commit

Permalink
Merge pull request #3 from mikestaub/master
Browse files Browse the repository at this point in the history
update npm dependencies
  • Loading branch information
seanhouli authored Jun 26, 2019
2 parents e24ec01 + cddadad commit 8225e4b
Show file tree
Hide file tree
Showing 3 changed files with 2,514 additions and 3,538 deletions.
22 changes: 12 additions & 10 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
const plugins = [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
];

if (process.env.NODE_ENV === "test") {
plugins.push("babel-plugin-rewire");
}

module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
'@babel/preset-react'
"@babel/preset-env",
"@babel/preset-react"
],
plugins: ['@babel/plugin-proposal-class-properties', 'babel-plugin-rewire']
plugins
};


Loading

0 comments on commit 8225e4b

Please sign in to comment.