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 dbe7109 commit 0e963bbCopy full SHA for 0e963bb
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