|
@@ -1116,6 +1116,7 @@ export function compileScript(
|
|
|
optionProperties = defaultExport.declaration.properties
|
|
optionProperties = defaultExport.declaration.properties
|
|
|
} else if (
|
|
} else if (
|
|
|
defaultExport.declaration.type === 'CallExpression' &&
|
|
defaultExport.declaration.type === 'CallExpression' &&
|
|
|
|
|
+ defaultExport.declaration.arguments[0] &&
|
|
|
defaultExport.declaration.arguments[0].type === 'ObjectExpression'
|
|
defaultExport.declaration.arguments[0].type === 'ObjectExpression'
|
|
|
) {
|
|
) {
|
|
|
optionProperties = defaultExport.declaration.arguments[0].properties
|
|
optionProperties = defaultExport.declaration.arguments[0].properties
|