Support computed property keys?
Not sure if I'm doing something wrong here, but shouldn't the following work just fine?
function foo() {
const objKey = Date.now()
return {[objKey]: {foo: 'bar'}}
}
module.exports = foo
I'm getting Error transforming /home/espenh/webdev/rollup-propname-bug/src.js with 'buble' plugin: Cannot overwrite a zero-length range – use insertLeft or insertRight instead
Repo with reproducible case: https://github.com/rexxars/rollup-propname-bug (npm install && npm test
)