(filePath: string)
| 79 | } |
| 80 | |
| 81 | function safeReadFile(filePath: string): string | null { |
| 82 | if (!existsSync(filePath)) return null; |
| 83 | try { |
| 84 | return readFileSync(filePath, "utf-8"); |
| 85 | } catch { |
| 86 | return null; |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | const CSS_IMPORT_RE = |
| 91 | /@import\s+(?:url\(\s*(["']?)([^)"']+)\1\s*\)|(["'])([^"']+)\3)\s*([^;]*);\s*/g; |
no outgoing calls
no test coverage detected