You can create your own context with the require.context() function.
。
大。什么是“上下文”?这实际上是做什么的?
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.
。
允许我“搜索”吗?搜索我假设的文件,然后呢?此功能最终会做什么?这有什么用途?