import { resolve } from 'path' ; import { fileURLToPath } from 'url' ; param path param parentUrl export function resolvePath ( path , parentUrl ) { return resolve ( fileURLToPath ( parentUrl ) , `../${ path }` ) ; }