Skip to content

Is it true that you can use a jsconfig.json ? #8782

@sarah11918

Description

@sarah11918

📚 Subject area/topic

import aliases

📋 Page(s) affected (or suggested, for new content)

https://docs.astro.build/en/guides/aliases/

📋 Description of content that is out-of-date or incorrect

From feedback fish:

I tried setting up import aliases with a jsconfig.json file, per the docs. And this seemed to be ignored. I switched over to a tsconfig.json file, and everything worked as expected. Does this page need to be updated or is this a bug?

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp - confirm behaviourWalk through the example/issue and confirm this is a general behaviour, or a correct update to make.help wantedIssues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions