adobe / aem-react-core-wcm-components-base

Apache License 2.0
18 stars 10 forks source link

Entrypoints are imported via /dist path #2

Open niekraaijmakers opened 3 years ago

niekraaijmakers commented 3 years ago

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.