diff --git a/packages/compiler-sfc/src/compileTemplate.ts b/packages/compiler-sfc/src/compileTemplate.ts index 5ba8a5e4812..322b1570e1a 100644 --- a/packages/compiler-sfc/src/compileTemplate.ts +++ b/packages/compiler-sfc/src/compileTemplate.ts @@ -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 = '' }