We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efc11f6 commit 95d1976Copy full SHA for 95d1976
src/configs/typescript.ts
@@ -1,5 +1,5 @@
1
import process from 'node:process'
2
-import { GLOB_SRC, GLOB_TS, GLOB_TSX } from '../constants/glob'
+import { GLOB_TS, GLOB_TSX } from '../constants/glob'
3
import { pluginAntfu } from '../plugins'
4
import { interopDefault, renameRules, toArray } from '../shared'
5
import type {
@@ -21,7 +21,8 @@ export async function typescript(
21
const { componentExts = [], overrides = {}, parserOptions = {} } = options
22
23
const files = options.files ?? [
24
- GLOB_SRC,
+ GLOB_TS,
25
+ GLOB_TSX,
26
...componentExts.map(ext => `**/*.${ext}`),
27
]
28
0 commit comments