Skip to content

Non-relative module imports #901

Closed
Closed

Description

@emersonlaurentino

It would be nice to be able to import without having the relative import path.

Exemple

Currently, in the Bullets component, we import the Button component.
Então a importação fica:

import Button from '../../atoms/Button'

With Non-relative import, we would have something like this:

import Button from 'atoms/Button'

To understand how to implement and what the implications are, here is the official Typescript documentation.

We can just start in the store-ui project and add this setting to the other packages too, what do you think?

Activity

  1. locked and limited conversation to collaborators on Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions