-
Notifications
You must be signed in to change notification settings - Fork 10
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
feature/issue 1257 CSS optimization workflow parity #1258
Merged
thescientist13
merged 10 commits into
release/0.30.0
from
feature/issue-1257-css-optimization-workflow-parity
Aug 2, 2024
Merged
feature/issue 1257 CSS optimization workflow parity #1258
thescientist13
merged 10 commits into
release/0.30.0
from
feature/issue-1257-css-optimization-workflow-parity
Aug 2, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thescientist13
added
question
Further information is requested
documentation
Greenwood specific docs
CLI
feature
New feature or request
labels
Jul 17, 2024
thescientist13
changed the title
feature/issue 1257 css optimization workflow parity
feature/issue 1257 CSS optimization workflow parity
Jul 17, 2024
This was referenced Jul 20, 2024
Merged
thescientist13
force-pushed
the
feature/issue-1257-css-optimization-workflow-parity
branch
from
July 31, 2024 02:45
94ad07c
to
e237f50
Compare
thescientist13
deleted the
feature/issue-1257-css-optimization-workflow-parity
branch
August 2, 2024 17:31
This was referenced Aug 3, 2024
thescientist13
added a commit
that referenced
this pull request
Nov 2, 2024
* initial implementation * WIP updating test cases * refresh PostCSS plugin README docs * document optimization in development behavior * restore test case with exception * tests passing * gate font plugin from only serving files * optimize supported one-off externalized assets * restore disabled test cases * fixup comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related Issue
resolves #1257
Summary of Changes
@import
statements in development (too)TODO
Update test cases based on outcome of this being default (albeit) documented behavior
Certain test cases will depend on enhancement/issue 923 real production import attributes #1259 being merged
figure out how to get- not needed, its not configurable anywayoutputDir
from configurationlooks like development optimization strips- looks to be an issue with csstreecontent
in one test case?Update documentation to call this out
final upstream testing - done in enhancement/issue 923 real production import attributes #1259
@custom-media
parsing error - coming from @evergreen-wc looks like we needed a PostCSS plugin for this? 😅 - https://github.com/csstools/postcss-custom-mediareduced motion parsing- seems to only be an issue when using puppeteer, and so maybe this is needed as part of another PR (also I think our puppeteer plugin is pretty outdated)? - https://pptr.dev/api/puppeteer.page.emulatemediafeaturesfont bundling - should have been "gating" the plugin against
file://
protocol only URLswe should probably be optimizing one-offs... (but how do we run
async
plugins inside a sync AST walker 🤔 )Questions
outputDir
available in loader.js? - yes!fs
etc)staticServer
is usingshouldServe
lifecycle, which was giving some unexpected results when runningyarn serve
and seemed to be bundling even when we weren't using (this kind of relates a a need / idea around standalone server, which I should also track) - put into my personal backlognpx http-server ./public
breaksnpx http-server
loads all the content just fine, nowstandard resource plugins needed. So do we even need resource plugins for staticStaticcontent
with octal values? - Lightning CSS #1238 (comment)