* Returns a human-readable identifier for this module. * @param {RequestShortener} requestShortener the request shortener * @returns {string} a user readable identifier of the module
(requestShortener)
| 118 | * @returns {string} a user readable identifier of the module |
| 119 | */ |
| 120 | readableIdentifier(requestShortener) { |
| 121 | const readableIdentifier = super.readableIdentifier(requestShortener); |
| 122 | |
| 123 | let identifier = `css ${readableIdentifier}`; |
| 124 | |
| 125 | if (this.cssLayer) { |
| 126 | identifier += ` (layer: ${this.cssLayer})`; |
| 127 | } |
| 128 | |
| 129 | if (this.supports) { |
| 130 | identifier += ` (supports: ${this.supports})`; |
| 131 | } |
| 132 | |
| 133 | if (this.media) { |
| 134 | identifier += ` (media: ${this.media})`; |
| 135 | } |
| 136 | |
| 137 | if (this.exportType) { |
| 138 | identifier += ` (exportType: ${this.exportType})`; |
| 139 | } |
| 140 | |
| 141 | return identifier; |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * Assuming this module is in the cache. Update the (cached) module with |
no outgoing calls
no test coverage detected