diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index c4d18ec4ce..dd6f100ea6 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -893,10 +893,10 @@ export default class Component { properties: [{ type: 'Property', method: false, - shorthand: true, + shorthand: false, computed: false, kind: 'init', - key: declarator.id, + key: { type: 'Identifier', name: variable.export_name }, value: declarator.init ? { type: 'AssignmentPattern',