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 0fbc19f commit 73eb8e3Copy full SHA for 73eb8e3
packages/compiler-sfc/src/compileScript.ts
@@ -1065,6 +1065,7 @@ export function compileScript(
1065
optionProperties = defaultExport.declaration.properties
1066
} else if (
1067
defaultExport.declaration.type === 'CallExpression' &&
1068
+ defaultExport.declaration.arguments[0] &&
1069
defaultExport.declaration.arguments[0].type === 'ObjectExpression'
1070
) {
1071
optionProperties = defaultExport.declaration.arguments[0].properties
0 commit comments