buble
buble copied to clipboard
Transpiling issue in string-keyed properties with whitespaces before colons
There's a transpilation problem in buble version 0.19.7 and under, which it incorrectly transpiles an object that has string-keyed properties with whitespaces before colons after a computed property.
<!-- Without whitespaces, no errors -->
<div :class="{['computed']: 1, 'some-class': 2}"></div>
<!-- With a whitespace, a syntax error occurs -->
<div :class="{['computed']: 1, 'some-class' : 2}"></div>
Could you update the fork to 0.19.8?
FYI, this is the issue from buble: https://github.com/bublejs/buble/pull/200
Thank you.