Object spread not working.
Object spread normally works in Buble, but it is failing with this line:
this.triggerEvent('parentsizechange', {...parentSize})
with the error
🚨 (commonjs plugin) SyntaxError: Unexpected token (102:51) in /home/trusktr/src/trusktr+infamous/src/html/scene.js
src/html/scene.js (102:51)
I can work around it by writing
this.triggerEvent('parentsizechange', Object.assign({}, parentSize))