MCPcopy
hub / github.com/callstack/repack / configure

Method configure

packages/repack/src/client/api/ChunkManager.ts:60–62  ·  view source on GitHub ↗

* Configures `ChunkManager` to be able to resolve location of additional * chunks (or arbitrary code) in production. * Optionally, it also allows to set up caching to avoid over-fetching of chunks. * * @param config Configuration options.

(config: ChunkManagerConfig)

Source from the content-addressed store, hash-verified

58 * @param config Configuration options.
59 */
60 static configure(config: ChunkManagerConfig) {
61 ChunkManager.backend.configure(config);
62 }
63
64 /**
65 * Resolves a URL to a given chunks and whether to download a chunk

Callers 2

index.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected