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