-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Scripts: Use fork of rtlcss-webpack-plugin
to fix issues with deps
#68201
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. |
This is ready for review. As a follow-up, it would be a perfect time to introduce some integration tests for the default webpack config shipped with |
Size Change: 0 B Total Size: 1.84 MB ℹ️ View Unchanged
|
Flaky tests detected in ecf479b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12434667306
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works well.
Do we want to use it internally, or do we want to release it for the community to use?
I would prefer internally only, hoping that upstream version gets updated in the future. Other projects can always use |
I actually made a fork of this plugin here where all dependencies are updated and it's rewritten in TypeScript. I think this would be better to use rather than internally bundling a modified version of the plugin. |
What?
Fixes #62007.
Fixes #67866.
The
@babel/runtime
dependency is limited to v6.25.x forrtclcss-webpack-plugin
which causes issues.As noted by @mamzoorwanjik in #67866 (comment):
The same dependency was reported as problematic by @stein2nd in #62007.
Why?
No new version has been published for
rtlcss-webpack-plugin
for the last 3 years. There are open PRs for both dependencies with no activity.How?
Fork and simplify the plugin so integrates seamlessly with the default webpack config for
wp-scripts build
andwp-scripts start
.Testing Instructions
It definitely can be tested manually by running the build for the scaffolded block: