Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-2249

Fix kogito-apps common module index location

XMLWordPrintable

      The location of index.ts file within the common module decides how the exported components will be imported elsewhere.

      Currently the location is common/src/components/index.ts

      and that results in the following import paths needed:

      import {xy} from '@kogito-apps/common/src/components'
      

      By moving the index into the 'common' root folder, the imports change to the expected form:

      import {xy} from '@kogito-apps/common'
      

            jstastny@redhat.com Jan Stastny
            jstastny@redhat.com Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: