Skip to content

Commit b223ed9

Browse files
author
elevatebart
committed
fix: try to simplify the checkTemplate error code
1 parent 97d7a5e commit b223ed9

File tree

2 files changed

+1
-8296
lines changed

2 files changed

+1
-8296
lines changed

src/utils/checkTemplate.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { parse as parseVue } from "@vue/compiler-dom";
2-
// force proper english errors
3-
// @ts-ignore
4-
import { createCompilerError } from "@vue/compiler-core/dist/compiler-core.cjs";
2+
import { createCompilerError } from "@vue/compiler-core";
53
import { parse as parseEs } from "acorn";
64
import { ancestor, simple } from "acorn-walk";
75
import defaultAttrAllowList from "./defaultAttrAllowList";

0 commit comments

Comments
 (0)