()
| 2179 | * @returns {boolean} true when url() deps should be emitted |
| 2180 | */ |
| 2181 | const urlActive = () => { |
| 2182 | if (!this.options.url || !currentStructural) return false; |
| 2183 | if (A.type(currentStructural) === NodeType.AtRule) { |
| 2184 | return ( |
| 2185 | !equalsLowerCase(A.name(currentStructural), "import") || |
| 2186 | currentUrlRecovery |
| 2187 | ); |
| 2188 | } |
| 2189 | return true; |
| 2190 | }; |
| 2191 | |
| 2192 | /** |
| 2193 | * At-rules with a dedicated CSS-Modules handler, so the generic `local()`/`global()` value rewrite and dashed-ident scoping are off for them. |
nothing calls this directly
no test coverage detected