Skip to content

Single path transformation #228

@RebeccaStevens

Description

@RebeccaStevens

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/*"],
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions