normalizeName = name => {
	if (typeof name === "string") {
		return () => name;
	}
	if (typeof name === "function") {
		return /** @type {GetName} */ (name);
	}
}
@param {OptimizationSplitChunksCacheGroup["name"]} name the chunk name
@returns {GetName | undefined} a function to get the name of the chunk