I would like to write a parser that resolves any values that are relative paths (starts with ./ or ../ and fs.existsSync returns true) to absolute paths. The parser would need to know the location of the file in order to be able to resolve a potential path and confirm the file exists.
I would submit a PR for this today, but I'm still trying to figunavigatere my company's open source contribution policy.
I would like to write a parser that resolves any values that are relative paths (starts with ./ or ../ and fs.existsSync returns true) to absolute paths. The parser would need to know the location of the file in order to be able to resolve a potential path and confirm the file exists.
I would submit a PR for this today, but I'm still trying to figunavigatere my company's open source contribution policy.