Skip to content

Add base routes for source files #849

Description

@selbekk

In order to avoid stuff like this:

import SomeComponent from '../../component/some-component/SomeComponent';

, I usually use the babel-root-plugin to resolve ~ to /src/main.

Would the suggested way of doing this in CRA be to fork and change react-scripts? Or is there a way to do this already?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions