workflow(sfc-playground): fix newline
This commit is contained in:
parent
950a950ae9
commit
16e8f45199
@ -100,7 +100,9 @@ watchEffect(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
compiled.template = templateResult.code.trim()
|
compiled.template = templateResult.code.trim()
|
||||||
finalCode += rewriteVueImports(templateResult.code).replace(
|
finalCode +=
|
||||||
|
`\n` +
|
||||||
|
rewriteVueImports(templateResult.code).replace(
|
||||||
/\nexport (function|const) render/,
|
/\nexport (function|const) render/,
|
||||||
'$1 render'
|
'$1 render'
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user