Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack configuration: update to be similar as Gutenberg / Core development #86

Merged
merged 1 commit into from
Mar 25, 2025

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