import * as path from "path" ; param path param ext hidden export function hasExtension ( path , ext ) { return path . length > ext . length && path . substr ( path . length - ext . length , ext . length ) === ext ; } param relativePath hidden export function absolutePath ( relativePath ) { return path . join ( process . cwd ( ) , relativePath ) ; }