Skip to content

(JSX) importing deeply nested relative pathsΒ #388

Closed
@HarveyAtwal

Description

@HarveyAtwal

I'm noticing a maintenance issue with importing relative paths that go up two or more levels, for example: import Button from '../../elements/button.js'.

How are other developers solving this issue? Would it be possible to base the path on the src directory?

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