getCssChunkObject = (mainChunk, compilation) => {
        /** @type {Record<string, number>} */
        const obj = {};
        const { chunkGraph } = compilation;

        for (const chunk of mainChunk.getAllAsyncChunks()) {
          const modules = chunkGraph.getOrderedChunkModulesIterable(
            chunk,
            compareModulesByIdentifier
          );

          for (const module of modules) {
            // @ts-ignore
            if (module.type === MODULE_TYPE) {
              obj[/** @type {string} */ (chunk.id)] = 1;

              break;
            }
          }
        }

        return obj;
      }
@param {Chunk} mainChunk
@param {Compilation} compilation
@returns {Record<string, number>}