MCPcopy
hub / github.com/webpack/webpack / applyCssGeneratorOptionsDefaults

Function applyCssGeneratorOptionsDefaults

lib/config/defaults.js:842–852  ·  view source on GitHub ↗
(
	generatorOptions,
	{ targetProperties }
)

Source from the content-addressed store, hash-verified

840 * @returns {void}
841 */
842const applyCssGeneratorOptionsDefaults = (
843 generatorOptions,
844 { targetProperties }
845) => {
846 D(
847 generatorOptions,
848 "exportsOnly",
849 !targetProperties || targetProperties.document === false
850 );
851 D(generatorOptions, "esModule", true);
852};
853
854/**
855 * Apply module defaults.

Callers 1

applyModuleDefaultsFunction · 0.85

Calls 1

DFunction · 0.70

Tested by

no test coverage detected