Skip to content

Commit ee13bf2

Browse files
committed
Add transform-object-assign to .babelrc -> support Node 0.12
1 parent af832ab commit ee13bf2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"es2015",
55
"stage-1"
66
],
7+
"plugins": [
8+
"transform-object-assign"
9+
],
710
"sourceMaps": true,
811
}

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"babel": "^6.5.2",
3838
"babel-core": "^6.7.2",
3939
"babel-loader": "^6.2.4",
40+
"babel-plugin-transform-object-assign": "^6.5.0",
4041
"babel-preset-es2015": "^6.6.0",
4142
"babel-preset-react": "^6.5.0",
4243
"babel-preset-stage-1": "^6.5.0",
@@ -46,10 +47,10 @@
4647
"hiff": "^0.3.0",
4748
"line-by-line": "^0.1.4",
4849
"mocha": "^2.4.5",
49-
"react-addons-test-utils": "^0.14.7",
5050
"react": "^0.14.7",
51-
"react-element-to-jsx-string": "=2.5.0",
51+
"react-addons-test-utils": "^0.14.7",
5252
"react-dom": "^0.14.7",
53+
"react-element-to-jsx-string": "=2.5.0",
5354
"replaceall": "^0.1.6",
5455
"webpack": "^2.1.0-beta.4",
5556
"webpack-dev-server": "^2.0.0-beta"

0 commit comments

Comments
 (0)