4 lines
87 B
TypeScript

export function isCSSUrl(url: string): boolean {
return /\.css(\?.*)?$/.test(url);
}