1 2 3 4 5 6 7 8 | 3x 1x 10x 1x 3x | const isRelative = (fileName: string) => /^\.\.?($|[\\/])/.test(fileName); export const isCSS = (fileName: string) => /\.module\.(sa|sc|c)ss$/.test(fileName); export const isRelativeCSS = (fileName: string) => isCSS(fileName) && isRelative(fileName); |