Skip to content

Multiple Entries - --entry exists but not documented well/broken #739

@neilchaudhuri

Description

@neilchaudhuri

I am building a React component library for the design system in our organization and have a bunch of components (and supporting objects like enums and interfaces) inside src. As they are not in index.tsx they aren't making it into the bundle although the type definitions are being created.

And when I do this: tsdx build --entry src/**/**.tsx

It just pulls the first file in the first directory under src.

I have noticed some issue threads here on multiple entry support, and it seems to be supported. But I don't see any documentation as to how. I would appreciate if you could point me to that or let me know if in fact such support doesn't exist. I just wanted to check here before bringing in something else like plugin-multi-entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: supportAsking for support with something or a specific use casescope: docsDocumentation could be improved. Or changes that only affect docssolution: duplicateThis issue or pull request already existstopic: multi-entryRelated to multi-entry support

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions