Skip to content

[feat]: Remove bundled entrypoint (pfe.min.js) #3087

@bennypowers

Description

@bennypowers

Summary

Remove the bundled entrypoint (pfe.min.js) from @patternfly/elements.

Context

PR #2960 restored the bundled entrypoint but was closed with the note to remove it in PFE5 instead. The bundled entrypoint causes custom element double-registration issues and is not the recommended way to consume the library.

Scope

  • Remove elements/pfe.min.js and the build:bundle script
  • Remove scripts/bundle.js
  • Update elements/package.json to remove main and . export pointing to pfe.min.js
  • Update root package.json to remove build:bundle from the build pipeline

Metadata

Metadata

Assignees

No one assigned

    Labels

    1:1Aligning components with PatternFly v4for devpriority: mediumSeverity level: 2

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions