MCPcopy
hub / github.com/webpack/webpack / loadConfig

Function loadConfig

test/WebpackCli.longtest.js:210–211  ·  view source on GitHub ↗
(file, args = [])

Source from the content-addressed store, hash-verified

208 * @returns {Promise<CapturedConfig>} the single resolved config
209 */
210 const loadConfig = async (file, args = []) =>
211 (await run([...args, "--config", path.join(CONFIG, file)])).config;
212
213 /**
214 * @param {string} file fixture file name in the define-config directory

Callers 2

loadMultiConfigFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected