Skip to content

Commit 5f71716

Browse files
committed
feat: update GLOB_SVELTE to include .js/.ts extensions
1 parent 28e306d commit 5f71716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constants/glob.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const GLOB_TSX = '**/*.?([cm])tsx'
1111
export const GLOB_VUE = '**/*.vue'
1212
export const GLOB_ASTRO = '**/*.astro'
1313
export const GLOB_ASTRO_TS = '**/*.astro/*.ts'
14-
export const GLOB_SVELTE = '**/*.svelte'
14+
export const GLOB_SVELTE = '**/*.svelte?(.{js,ts})'
1515

1616
export const GLOB_HTML = '**/*.htm?(l)'
1717

0 commit comments

Comments
 (0)