Start a project

Tool 236 of 425 · JavaScript

tsconfig Paths Resolver

Reads compilerOptions.baseUrl and paths from tsconfig.json and shows which file each import specifier maps to, or why it falls through.

tsconfig Paths Resolver

Your input

Result

SpecifierPatternCandidates

    01

    What it does

    Reads compilerOptions.baseUrl and paths from tsconfig.json and shows which file each import specifier maps to, or why it falls through.

    • Comments and trailing commas in tsconfig accepted
    • Wildcard patterns with longest-prefix wins
    • baseUrl fallback
    • Reminder for bundler and test aliases

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    A resolution table, with a Copy and a Download button on every result.

    • TypeScript
    • tsconfig
    • Path aliases

    Why it matters

    Path aliases such as @/components keep imports short, but baseUrl and paths are easy to misconfigure, and TypeScript, the bundler and the test runner each need to agree.

    This resolver applies TypeScript's rules to your tsconfig so you can see exactly which file an alias should reach.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Resolve. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Does Node understand tsconfig paths?

    No. Node needs package.json imports (#alias) or a loader; bundlers need a plugin such as vite-tsconfig-paths.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk