(infrastructureLogging)
| 2444 | * @returns {void} |
| 2445 | */ |
| 2446 | const applyInfrastructureLoggingDefaults = (infrastructureLogging) => { |
| 2447 | F(infrastructureLogging, "stream", () => process.stderr); |
| 2448 | const tty = |
| 2449 | /** @type {NonNullable<InfrastructureLogging["stream"]>} */ |
| 2450 | (infrastructureLogging.stream).isTTY && process.env.TERM !== "dumb"; |
| 2451 | D(infrastructureLogging, "level", "info"); |
| 2452 | D(infrastructureLogging, "debug", false); |
| 2453 | D(infrastructureLogging, "colors", tty); |
| 2454 | D(infrastructureLogging, "appendOnly", !tty); |
| 2455 | }; |
| 2456 | |
| 2457 | module.exports.DEFAULTS = DEFAULTS; |
| 2458 | module.exports.applyWebpackOptionsBaseDefaults = |
no test coverage detected