Skip to content

Commit cc0148b

Browse files
committed
add modulePathIgnorePatterns
elsewise haste map generation takes forever with many files in folder
1 parent 70d647b commit cc0148b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,21 @@
130130
"<rootDir>/test/*.unittest.js"
131131
],
132132
"watchPathIgnorePatterns": [
133+
"<rootDir>/node_modules/webpack/node_modules/",
133134
"<rootDir>/test/js/",
134135
"<rootDir>/test/browsertest/js/",
135136
"<rootDir>/test/fixtures/temp-cache-fixture/",
136-
"<rootDir>/benchmark/js/",
137-
"<rootDir>/benchmark/fixtures/",
138-
"<rootDir>/examples/",
137+
"<rootDir>/benchmark/",
138+
"<rootDir>/examples/*/dist",
139+
"<rootDir>/coverage/"
140+
],
141+
"modulePathIgnorePatterns": [
142+
"<rootDir>/node_modules/webpack/node_modules/",
143+
"<rootDir>/test/js/",
144+
"<rootDir>/test/browsertest/js/",
145+
"<rootDir>/test/fixtures/temp-cache-fixture/",
146+
"<rootDir>/benchmark/",
147+
"<rootDir>/examples/*/dist",
139148
"<rootDir>/coverage/"
140149
],
141150
"transformIgnorePatterns": [

0 commit comments

Comments
 (0)