(chunk, chunkGraph)
| 254 | * @returns {boolean} true if the chunk emits a `.css` file |
| 255 | */ |
| 256 | const chunkHasCss = (chunk, chunkGraph) => |
| 257 | Boolean(chunkGraph.getChunkModulesIterableBySourceType(chunk, CSS_TYPE)) || |
| 258 | Boolean( |
| 259 | chunkGraph.getChunkModulesIterableBySourceType(chunk, CSS_IMPORT_TYPE) |
| 260 | ); |
| 261 | |
| 262 | /** |
| 263 | * Deterministic tie-break key for CSS link ordering. `chunk.name` and |
no test coverage detected