MCPcopy
hub / github.com/webpack/webpack / loadMultiConfig

Function loadMultiConfig

test/WebpackCli.longtest.js:218–221  ·  view source on GitHub ↗
(file, args)

Source from the content-addressed store, hash-verified

216 * @returns {Promise<CapturedConfig[]>} the resolved multi-compiler config
217 */
218 const loadMultiConfig = async (file, args) =>
219 /** @type {CapturedConfig[]} */ (
220 /** @type {unknown} */ (await loadConfig(file, args))
221 );
222
223 it("loads a defineConfig object configuration", async () => {
224 const config = await loadConfig("object.js");

Callers 1

Calls 1

loadConfigFunction · 0.85

Tested by

no test coverage detected