Skip to content

Commit

Permalink
Add transform-object-rest-spread babel plugin by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Sep 26, 2017
1 parent a9dbead commit 6b5ae97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -31,6 +31,7 @@
"autoprefixer": "^7.1.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.1.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.5.1",
"chokidar": "^1.7.0",
"clean-css": "^4.1.3",
Expand Down
3 changes: 2 additions & 1 deletion src/config.js
Expand Up @@ -198,7 +198,8 @@ module.exports = function () {
uglify: true
}
}]
]
],
plugins: ['transform-object-rest-spread']
};

if (this.react) {
Expand Down

0 comments on commit 6b5ae97

Please sign in to comment.