Skip to content

Commit 87b2451

Browse files
PerrineBoissieresjamiebuilds
authored andcommitted
Transform Object.assign with Babel
1 parent 0d9d38d commit 87b2451

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"babel-plugin-module-resolver": "^2.7.1",
2828
"babel-plugin-transform-async-to-generator": "^6.24.1",
2929
"babel-plugin-transform-class-properties": "^6.24.1",
30+
"babel-plugin-transform-object-assign": "^6.22.0",
3031
"babel-preset-es2015": "^6.24.1",
3132
"babel-preset-react": "^6.24.1",
3233
"express": "^4.16.1",

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
plugins: [
2828
'syntax-dynamic-import',
2929
'transform-class-properties',
30+
'transform-object-assign',
3031
require.resolve('./babel'),
3132
],
3233
}

0 commit comments

Comments
 (0)