We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5bf12 commit d98aec7Copy full SHA for d98aec7
packages/compiler-sfc/src/compileScript.ts
@@ -1071,6 +1071,7 @@ export function compileScript(
1071
optionProperties = defaultExport.declaration.properties
1072
} else if (
1073
defaultExport.declaration.type === 'CallExpression' &&
1074
+ defaultExport.declaration.arguments[0] &&
1075
defaultExport.declaration.arguments[0].type === 'ObjectExpression'
1076
) {
1077
optionProperties = defaultExport.declaration.arguments[0].properties
0 commit comments