Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Allow loading block-styles on render (opt-in) + inlining #1236
Allow loading block-styles on render (opt-in) + inlining #1236
Changes from 29 commits
cafd211
12e37f3
ae23c66
9f8883a
5c83e24
1abaab7
44c2cc5
e9c2cdd
78da83b
96f9216
ce1a2bf
c1edd86
02e2f1e
a901d99
c852626
2b70c49
2d66fb0
0b64780
539723f
06ab2f2
9f325b9
b48c9aa
51916ea
9b8831c
eda6ca7
157f4f6
6c62c73
b9139c2
82cbe21
29d6f85
a5f86ad
e97f747
288c2d3
cdb3218
ab1b95f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 adds 260 CSS files to subfolders in src/wp-includes/blocks. It won't scale well because they can change not only when the content of files updates but also when we modify webpack configuration. In this folder, we also have
block.json
files and PHP files copied over from WordPress packages with webpack. The only file that is custom is insideindex.php
. Ideally, we should remove all files insidesrc/wp-include/blocks
from tracking in svn and leave it to the build process. I think it was proposed by @peterwilsoncc in https://core.trac.wordpress.org/ticket/49635.