Skip to content

Commit

Permalink
fix: transform spreads for build
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogradov committed Apr 14, 2018
1 parent 577b4fd commit 60f7c0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .babelrc
@@ -1,8 +1,9 @@
{
"presets": [
["env", {"modules": false }]
["env", { "loose": true, "modules": false }]
],
"plugins": [
"transform-object-rest-spread",
"transform-es2015-modules-commonjs",
["transform-react-jsx", { "pragma": "h" }]
]
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -22,6 +22,7 @@
"babel-core": "^6.26.0",
"babel-jest": "^22.4.3",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"chai": "^4.1.2",
Expand Down

0 comments on commit 60f7c0b

Please sign in to comment.