MCPcopy Index your code
hub / github.com/thegreatjavascript/FakeScreenshot / requireAll

Function requireAll

src/icons/index.js:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7const req = require.context('./svg/zhihu', false, /\.svg$/)
8const requireAll = requireContext => requireContext.keys().map(requireContext)
9requireAll(req)

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected