fix(react): add ts extension to tailwindcss utility glob (#16971)

This commit is contained in:
Benjamin Cabanes 2023-05-11 17:01:37 -04:00 committed by GitHub
parent dc7122984e
commit cf0aa591a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import { createGlobPatternsForDependencies as jsGenerateGlobs } from '@nx/js/src
*/
export function createGlobPatternsForDependencies(
dirPath: string,
fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,jsx,js,html}'
fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,ts,jsx,js,html}'
) {
try {
return jsGenerateGlobs(dirPath, fileGlobPattern);