mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[healthcheck] Refine glob pattern
ghstack-source-id: 6f9e7f9534
Pull Request resolved: https://github.com/facebook/react-forget/pull/2960
This commit is contained in:
@@ -20,7 +20,7 @@ async function main() {
|
||||
.option("src", {
|
||||
description: "glob expression matching src files to compile",
|
||||
type: "string",
|
||||
default: "**/*.{js,jsx,ts,tsx,json}",
|
||||
default: "**/+(*.{js,jsx,ts,tsx}|package.json)",
|
||||
})
|
||||
.parseSync();
|
||||
|
||||
@@ -38,6 +38,8 @@ async function main() {
|
||||
"dist/**",
|
||||
"tests/**",
|
||||
"__tests__/**",
|
||||
"__mocks__/**",
|
||||
"__e2e__/**",
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user