Skip to content

Spike: investigate removing src from pf npm packages #10868

@nicolethoen

Description

@nicolethoen

currently, the various packages published to npm pf-react all include the src directories which bloat the published pkg size to 6.05 MB https://www.npmjs.com/package/@patternfly/react-core?activeTab=code

it also does create scenarios where products could be importing from our src directories, then their own custom typescript configurations will result in compiled typescript different than the PF distributions. (and possibly build errors for the product)

Would it be possible to remove the src from the pf packages without requiring further breaking changes from the pf packages? If so, this could be possibly framed as a bug fix. That's the goal of this spike.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions