wip: fix default export codegen
This commit is contained in:
parent
737ef424a0
commit
0e86cbfcf2
@ -930,7 +930,7 @@ export function compileScript(
|
||||
`\n${hasAwait ? `async ` : ``}function setup(${args}) {\n`
|
||||
)
|
||||
s.append(
|
||||
`/*#__PURE__*/ Object.assign(${defaultTempVar}, {${runtimeOptions}\n setup\n})\n` +
|
||||
`\n/*#__PURE__*/ Object.assign(${defaultTempVar}, {${runtimeOptions}\n setup\n})\n` +
|
||||
`export default ${defaultTempVar}`
|
||||
)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user