-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Include blocks manifest build process in Webpack config to fix create-block
bug with missing blocks manifest file
#69578
base: trunk
Are you sure you want to change the base?
Conversation
… blocks manifest file.
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @samikeijonen. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: 0 B Total Size: 1.84 MB ℹ️ View Unchanged
|
Flaky tests detected in cc80415. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/13860341130
|
What?
Closes #69565
How?
wp-scripts build-blocks-manifest
as part of Webpack process if--blocks-manifest
argument is present.create-block
's generatedpackage.json
to use that new--blocks-manifest
argument instead of separately callingwp-scripts build-blocks-manifest
which does not play well together with Webpack's own watch mode.Important: These changes affect
@wordpress/scripts
and@wordpress/create-block
, and ideally both packages are released with these changes at the same time.That's because the
create-block
change depends on thescripts
change.Testing Instructions
See #69565.