Skip to content

Commit 31bbc52

Browse files
committedOct 25, 2024··
feat(scan): add yaml file to default scan
1 parent 1f3bf1f commit 31bbc52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/scan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function extraIconUsages(code: string, set: Set<string>, ignoreCollection
1414

1515
export async function scanSourceFiles(nuxt: Nuxt, scanOptions: ClientBundleScanOptions | true, set: Set<string> = new Set()) {
1616
const {
17-
globInclude = ['**/*.{vue,jsx,tsx,md,mdc,mdx}'],
17+
globInclude = ['**/*.{vue,jsx,tsx,md,mdc,mdx,yml,yaml}'],
1818
globExclude = ['node_modules', 'dist', 'build', 'coverage', 'test', 'tests', '.*'],
1919
ignoreCollections = [],
2020
} = scanOptions === true ? {} : scanOptions

0 commit comments

Comments
 (0)
Please sign in to comment.