最佳答案
You can create your own context with the require.context() function.
Great. What is a "context"? What does this actually do?
It allows you to pass in a directory to search, a flag indicating whether subdirectories should be searched too, and a regular expression to match files against.
Allows me to "search"? Search for files I'm assuming, and then what? What does this function ultimately do? What is it used for?