Is it possible to programmatically get the replacement path from a given input path.
const replacementPath = getReplacement("#/app/foo");
console.log(replacementPath) // => ./src/foo.js
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"#/app/*": ["src/*"],
}
}
}