constructor(contentType, name, global, getFilenameForChunk, allChunks) {
		super(`get ${name} chunk filename`);
		this.contentType = contentType;
		this.global = global;
		this.getFilenameForChunk = getFilenameForChunk;
		this.allChunks = allChunks;
		this.dependentHash = true;
	}
@param {string} contentType the contentType to use the content hash for
@param {string} name kind of filename
@param {string} global function name to be assigned
@param {(chunk: Chunk) => TemplatePath | false} getFilenameForChunk functor to get the filename or function
@param {boolean} allChunks when false, only async chunks are included