Open RebeccaStevens opened 2 months ago
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/*"], } } }
Is it possible to programmatically get the replacement path from a given input path.