Skip to content

Conversation

@cbravobernal
Copy link
Contributor

What

In this PR we are:

  • Using @wordpress/dependency-extraction-webpack-plugin to be able to manage dependencies automatically for using WordPress packages in a future.
  • Remove deprecated webpack-fix-style-only-entries and use instead webpack-remove-empty-scripts.
  • Run an audit fix.
  • Use a loop to iterate through all scripts instead of manual handwriting all of the enqueues.

@cbravobernal cbravobernal force-pushed the update/webpack-config branch from aa981ac to 308f7bd Compare March 24, 2025 21:04
@kraftbj kraftbj merged commit d680915 into WordPress:trunk Mar 25, 2025
4 checks passed
@kraftbj kraftbj added this to the 6.5.0 milestone Mar 25, 2025
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