]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(template-explorer): Fix template-explorer highlighting (#8956)
author白雾三语 <32354856+baiwusanyu-c@users.noreply.github.com>
Fri, 20 Oct 2023 07:43:49 +0000 (15:43 +0800)
committerGitHub <noreply@github.com>
Fri, 20 Oct 2023 07:43:49 +0000 (15:43 +0800)
packages/template-explorer/src/index.ts

index bace011ed89902270c4dc1fc35e7e4daa3663918..9faeb0a59f6937a7dc1b0478ef18e62a152c7e31 100644 (file)
@@ -76,8 +76,8 @@ window.init = () => {
       const compileFn = ssrMode.value ? ssrCompile : compile
       const start = performance.now()
       const { code, ast, map } = compileFn(source, {
-        filename: 'ExampleTemplate.vue',
         ...compilerOptions,
+        filename: 'ExampleTemplate.vue',
         sourceMap: true,
         onError: err => {
           errors.push(err)