import { parse } from "path" ; export const SidecarExts = [ ".exif" , ".exv" , ".mie" , ".xmp" ] ; export function isSidecarExt ( filename ) { const p = parse ( filename ) ; return SidecarExts . includes ( String ( p . ext ) . toLowerCase ( ) ) ; }