Skip to content

Commit

Permalink
Added babel transform for Object.assign
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgagneur committed Apr 3, 2019
1 parent 9ca3b22 commit 31d8608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Expand Up @@ -2,6 +2,7 @@ const presets = ['@babel/env', '@babel/preset-react'];
const plugins = [
'@babel/plugin-transform-arrow-functions',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-object-assign'
];

module.exports = { presets, plugins };
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -54,6 +54,7 @@
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
Expand Down

0 comments on commit 31d8608

Please sign in to comment.