WP Scripts: Update webpack dependencies related to styling#67572
WP Scripts: Update webpack dependencies related to styling#67572
Conversation
|
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 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: -38 B (0%) Total Size: 1.83 MB
ℹ️ View Unchanged
|
| output: { | ||
| filename: '[name].js', | ||
| chunkFilename: '[name].js?v=[chunkhash]', | ||
| chunkFilename: '[name].js?ver=[chunkhash]', |
d694d83 to
880192f
Compare
| "rtlcss": "4.0.0", | ||
| "sass": "1.35.2", | ||
| "sass-loader": "12.1.0", | ||
| "sass": "1.50.1", |
There was a problem hiding this comment.
There is a more up-to-date version of sass,, but there are too many deprecations reported in the Gutenberg codebase, so I went with the highest possible version that doesn't warn. It isn't essential for the fix, but I thought it would be great to bump the version as part of the effort.
|
Flaky tests detected in 8f6dd7d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12195334190
|
sirreal
left a comment
There was a problem hiding this comment.
Changes make sense, thank you!
36a2f92 to
8f6dd7d
Compare

What?
Fixes the deprecation notice reported from
sass-loader:Steps to reproduce:
npx @wordpress/create-block@latest my-block cd my-block npm run buildWhy?
It was raised during the Developer Hours: Improve your workflows with WordPress development tools yesterday as a concern that it might to stop working.
How?
Updated several webpack dependencies in
@wordpress/scriptspackage.Testing Instructions
Creating a test plugin with SCSS files and running
npm run buildshould do the trick. This is the commands I used for testing in Gutenberg:npx wp-create-block my-block --no-wp-scripts cd my-block ../node_modules/.bin/wp-scripts build