(root: string)
| 2471 | |
| 2472 | let cachedSss: PostCSS.Syntax | Promise<PostCSS.Syntax> |
| 2473 | async function loadSss(root: string): Promise<PostCSS.Syntax> { |
| 2474 | if (!cachedSss) { |
| 2475 | cachedSss = (async () => { |
| 2476 | const sssPath = loadPreprocessorPath(PostCssDialectLang.sss, root) |
| 2477 | const resolved = (await import(pathToFileURL(sssPath).href)).default |
| 2478 | return (cachedSss = resolved) |
| 2479 | })() |
| 2480 | } |
| 2481 | return cachedSss |
| 2482 | } |
| 2483 | |
| 2484 | declare const window: unknown |
| 2485 | declare const location: { href: string } | undefined |
no test coverage detected