Skip to content

Commit

Permalink
chore: improve compileTemplate warn message (#11085)
Browse files Browse the repository at this point in the history
  • Loading branch information
noootwo authored Jun 7, 2024
1 parent edf2638 commit 2c78f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/compiler-sfc/src/compileTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ function doCompileTemplate({
if (ssr && !ssrCssVars) {
warnOnce(
`compileTemplate is called with \`ssr: true\` but no ` +
`corresponding \`cssVars\` option.\`.`,
`corresponding \`cssVars\` option.`,
)
}
if (!id) {
warnOnce(`compileTemplate now requires the \`id\` option.\`.`)
warnOnce(`compileTemplate now requires the \`id\` option.`)
id = ''
}

Expand Down

0 comments on commit 2c78f89

Please sign in to comment.