Duplicate plugin for node4
Closed this issue · 3 comments
sebakerckhof commented
sebakerckhof commented
And I think it misses http://babeljs.io/docs/plugins/transform-es2015-spread/ according to https://nodejs.org/en/docs/es6/
kintel commented
I can confirm that this preset is broken for node 4. Adding the spread transform fixes it:
require("babel-plugin-transform-es2015-spread"),
rtsao commented
Wow, nice catch! This must have been due to some oversight when merging... Sorry for the delay fixing this, somehow I missed this issue on GitHub. I've published v4.0.1
which resolves the problem.