Skip to content

Commit 70e9de3

Browse files
committed
fix: isCE
1 parent 8053e39 commit 70e9de3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/babel-plugin-resolve-type/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default declare<SimpleTypeResolveOptions>(({ types: t }, options) => {
2626
source: file.code,
2727
options,
2828
ast: file.ast.program.body,
29+
isCE: false,
2930
error(msg, node) {
3031
throw new Error(
3132
`[@vue/babel-plugin-resolve-type] ${msg}\n\n${filename}\n${codeFrameColumns(

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"types": ["vitest/globals"],
1515
"skipLibCheck": true,
1616
"paths": {
17-
"@vue/babel-plugin-jsx": ["./packages/babel-plugin-jsx/src"],
17+
"@vue/babel-plugin-jsx": ["./packages/babel-plugin-jsx/src"]
1818
},
19-
"noEmit": true,,
20-
"customConditions": ["dev"],
19+
"noEmit": true,
20+
"customConditions": ["dev"]
2121
}
2222
}

0 commit comments

Comments
 (0)