MCPcopy
hub / github.com/webpack/webpack / applyWebpackOptionsBaseDefaults

Function applyWebpackOptionsBaseDefaults

lib/config/defaults.js:302–305  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

300 * @returns {void}
301 */
302const applyWebpackOptionsBaseDefaults = (options) => {
303 F(options, "context", () => process.cwd());
304 applyInfrastructureLoggingDefaults(options.infrastructureLogging);
305};
306
307/**
308 * Apply webpack options defaults.

Callers 1

createCompilerFunction · 0.85

Calls 2

FFunction · 0.70

Tested by

no test coverage detected