MCPcopy
hub / github.com/webpack/webpack / cssChunkSortKey

Function cssChunkSortKey

lib/dependencies/HtmlEntryDependency.js:276–279  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

274 * @returns {string} the tie-break key
275 */
276const cssChunkSortKey = (chunk) =>
277 `${chunk.name || ""} ${
278 chunk.id === null || chunk.id === undefined ? "" : chunk.id
279 }`;
280
281const CSS_SOURCE_TYPES = [CSS_TYPE, CSS_IMPORT_TYPE];
282

Callers 1

applyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected