Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Usage with baseUrl #14

Closed
Closed
@mrmckeb

Description

@mrmckeb

This resolver is great, it's already solving a number of issues for us.

We're using it with a monorepo and create-react-app, which doesn't support paths - but does support baseUrl set to src. In that case, we can access a folder in ./src/* as an absolute import - i.e. import { Button } from 'components/Button'.

Perhaps I'm missing something, but I'm still getting errors about unresolved imports in this case, and the import/order rule thinks that my import is external, not internal.

Are you able to offer any advice or suggestions here?

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