(file: string)
| 6 | import { generate as generateCSS, parse as parseCSS, walk as walkCSS } from "css-tree"; |
| 7 | |
| 8 | function encodeFileURL(file: string) { |
| 9 | const webEndpoint = getWebServerEndpoint(); |
| 10 | const fileUri = formatRemoteUri(file, "local"); |
| 11 | const rtn = webEndpoint + `/wave/stream-file?path=${encodeURIComponent(fileUri)}&no404=1`; |
| 12 | return rtn; |
| 13 | } |
| 14 | |
| 15 | export function processBackgroundUrls(cssText: string): string { |
| 16 | if (isBlank(cssText)) { |
no test coverage detected