Skip to content

Update: Sync Exempt Packages with Bundled#40

Merged
retlehs merged 1 commit intoroots:mainfrom
csorrentino:update/sync-exempt-packages-with-bundled
Mar 26, 2026
Merged

Update: Sync Exempt Packages with Bundled#40
retlehs merged 1 commit intoroots:mainfrom
csorrentino:update/sync-exempt-packages-with-bundled

Conversation

@csorrentino
Copy link
Copy Markdown
Contributor

The exemptPackages list in wordpressPlugin() appears to have originally been a copy of BUNDLED_PACKAGES in @wordpress/dependency-extraction-webpack-plugin/lib/util, but the two lists have drifted as the dependency extraction plugin has been updated.

This PR syncs exemptPackages to match the BUNDLED_PACKAGES in the installed version of @wordpress/dependency-extraction-webpack-plugin, removing the two stale entries and adding the three missing ones.

Note: I think the ideal fix would be for @wordpress/dependency-extraction-webpack-plugin to export BUNDLED_PACKAGES directly so exemptPackages can be derived from that rather than be manually synced. I've also created a PR for that change as a long shot

Syncs exemptPackages to exactly match the installed BUNDLED_PACKAGES
Copy link
Copy Markdown
Member

@retlehs retlehs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@retlehs retlehs merged commit e907c61 into roots:main Mar 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants