(name: string, defaultValue: boolean)
| 293 | } |
| 294 | |
| 295 | function envBoolean(name: string, defaultValue: boolean) { |
| 296 | const value = process.env[name] |
| 297 | if (value == null) { |
| 298 | return defaultValue |
| 299 | } |
| 300 | |
| 301 | const normalized = value.trim().toLowerCase() |
| 302 | return normalized === '1' || normalized === 'true' || normalized === 'yes' |
| 303 | } |
| 304 | |
| 305 | const IMAGE_GLOB = '**/*.{png,jpg,jpeg,gif,webp,avif,ico}' |
| 306 | const FONT_GLOB = '**/*.{woff,woff2,ttf,otf,eot}' |
no outgoing calls
no test coverage detected