Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.
This repository was archived by the owner on May 11, 2025. It is now read-only.

Wrong baseUrl that breaks path alias in vs code #12

@guoyunhe

Description

@guoyunhe

https://github.com/adonisjs-community/adonis-preset-ts/blob/develop/tsconfig.json#L22

It is strange that VS Code's built-in TypeScript parser will alert about wrong paths:

图片

After deleting baseUrl option in node_modules/adonis-preset-ts/tsconfig.json, VS Code won't show any path error anymore.

I think a ts preset package should not contain baseUrl or rootDir option. Since the project has already defined them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions