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 fddf79f commit b0bf19fCopy full SHA for b0bf19f
packages/compiler-sfc/src/compileScript.ts
@@ -1715,10 +1715,8 @@ export function compileScript(
1715
s.prependLeft(
1716
startOffset,
1717
`\nexport default /*#__PURE__*/Object.assign(${
1718
- defaultExport ? DEFAULT_VAR : ''
1719
- }${defaultExport && definedOptions ? ', ' : ''}${
1720
- definedOptions ? definedOptions : ''
1721
- }, {${runtimeOptions}\n ` +
+ defaultExport ? `${DEFAULT_VAR}, ` : ''
+ }${definedOptions ? `${definedOptions}, ` : ''}{${runtimeOptions}\n ` +
1722
`${hasAwait ? `async ` : ``}setup(${args}) {\n${exposeCall}`
1723
)
1724
s.appendRight(endOffset, `})`)
0 commit comments