Skip to content

Entrypoints are imported via /dist path #2

@niekraaijmakers

Description

@niekraaijmakers

Currently when you want to import an individual entrypoint of the library, for example TextV2:

import {TextV2} from "@adobe/aem-core-components-react-base/dist/authoring/text/v2/TextV2";
What we would like is to have it as follows instead:

import {TextV2} from "@adobe/aem-core-components-react-base/authoring/text/v2/TextV2";

This looks nicer and makes more sense logically. For this we need to change the way we export to NPM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions