Skip to content

Instantly share code, notes, and snippets.

@clukhei
Last active July 29, 2022 08:19
Show Gist options
  • Save clukhei/a0f3729c96efd5350eac644a86528530 to your computer and use it in GitHub Desktop.
Save clukhei/a0f3729c96efd5350eac644a86528530 to your computer and use it in GitHub Desktop.
subpath-import-final-directory-structure
dist
├── Accordion
│ ├── Accordion.d.ts
│ ├── AccordionBody.d.ts
│ ├── AccordionButton.d.ts
│ ├── AccordionCollapse.d.ts
│ ├── AccordionContext.d.ts
│ ├── AccordionHeader.d.ts
│ ├── AccordionItem.d.ts
│ ├── AccordionItemContext.d.ts
│ ├── index.d.ts // --> types definition entry point for Accordion component only
│ ├── index.js // --> esm entry point for Accordion component only
│ ├── index.js.map
│ └── package.json // --> package.json for Accordion component only
├── Alert
│ ├── Alert.d.ts
│ ├── AlertHeading.d.ts
│ ├── AlertLink.d.ts
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── package.json
├── Badge
│ ├── Badge.d.ts
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── package.json
├── Breadcrumb
│ ├── Breadcrumb.d.ts
│ ├── BreadcrumbItem.d.ts
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── package.json
├── Button
│ ├── Button.d.ts
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── package.json
├── ButtonGroup
│ ├── ButtonGroup.d.ts
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── package.json
├── Card
│ ├── Card.d.ts
│ ├── CardGroup.d.ts
│ ├── CardHeader.d.ts
│ ├── CardHeaderContext.d.ts
│ ├── CardImg.d.ts
│ ├── CardMisc.d.ts
│ ├── SelectableCard.d.ts
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── package.json
...
├── cjs
│ ├── index.js //--> cjs format entry point of whole library
│ └── index.js.map
├── index.d.ts
├── index.js // --> esm format entry point of whole library
├── index.js.map
├── package.json // --> package.json file for the whole library
└── utils
├── ElementChildren.d.ts
├── TransitionWrapper.d.ts
├── constant.d.ts
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment