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
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
elements/pfe.min.jsand thebuild:bundlescriptscripts/bundle.jselements/package.jsonto removemainand.export pointing topfe.min.jspackage.jsonto removebuild:bundlefrom the build pipeline