Skip to content

feat!: remove bundled entrypoint (pfe.min.js)#3089

Open
bennypowers wants to merge 3 commits intostaging/pfe5from
fix/remove-bundled-entrypoint
Open

feat!: remove bundled entrypoint (pfe.min.js)#3089
bennypowers wants to merge 3 commits intostaging/pfe5from
fix/remove-bundled-entrypoint

Conversation

@bennypowers
Copy link
Copy Markdown
Member

Summary

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

  • Remove main field and . export pointing to pfe.min.js from elements/package.json
  • Remove build:bundle wireit config and dependency from root package.json
  • Delete scripts/bundle.js

The bundled entrypoint caused custom element double-registration issues
and is not recommended for production use. Import individual elements directly instead.

See #2960 for context.

Closes #3087

Test plan

  • npm run build succeeds without build:bundle
  • Package exports still work for individual element imports

The bundled entrypoint causes custom element double-registration
issues and is not the recommended way to consume the library.

Closes #3087

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: e9bc40b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@patternfly/elements Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 15, 2026

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "feat!: remove bundled entrypoint (pfe.min.js)"
}

@github-actions github-actions bot added the AT passed Automated testing has passed label Apr 15, 2026
Remove the bundle() call and pfe.min.* passthrough copies
from the Eleventy docs plugin, since the bundled entrypoint
was removed.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 15, 2026

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 4935995
😎 Deploy Preview https://deploy-preview-3089--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 351cf2b: Report

Fixes padded-blocks lint error.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 4935995: Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant