InternalAdd an instance to the registry. Identified by a namespace (extension ID) and an ID (module path).
Register a module by the chunk ID it belongs to, the webpack module ID it belongs to, the namespace (extension ID), and its path.
Responsible for loading external chunks. Called automatically when an extension/package tries to async import a chunked module.
Check if a module has been loaded. Return the module if so, false otherwise.
Optionalnamespace: stringOptionalurl: stringRetrieve a module from the registry by namespace and ID.
Get a registered chunk. Each chunk has at least one module (the default one).
Chunk ids are only unique within one build, so pass the namespace of the
build asking. Bundles built before flarum-webpack-config sent it can't, so
without it the chunk is matched by its file name in url where ids
collide, and is otherwise the first registered under the id.
Optionalnamespace: stringOptionalurl: stringAdd a function to run when object of id "id" is added (or overridden). If such an object is already registered, the handler will be applied immediately.
The first chunk registered under each id, as before ids were namespaced.