import path from 'path' ; const cwd = process . cwd ( ) ; export const getFullPath = ( filename ) => { if ( path . isAbsolute ( filename ) ) { return filename ; } return path . join ( cwd , filename ) ; } ;