-
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
Enhancement/issue 763 custom css minification and bundling #980
Merged
thescientist13
merged 22 commits into
release/0.27.0
from
enhancement/issue-763-custom-css-bundling
Nov 12, 2022
Merged
Enhancement/issue 763 custom css minification and bundling #980
thescientist13
merged 22 commits into
release/0.27.0
from
enhancement/issue-763-custom-css-bundling
Nov 12, 2022
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
enhancement
Improve something existing (e.g. no docs, new APIs, etc)
website
Tasks related to the projects website / documentation
documentation
Greenwood specific docs
labels
Oct 1, 2022
thescientist13
removed
the
website
Tasks related to the projects website / documentation
label
Oct 22, 2022
thescientist13
force-pushed
the
enhancement/issue-763-custom-css-bundling
branch
from
November 3, 2022 01:03
024d55d
to
935e292
Compare
thescientist13
force-pushed
the
release/0.27.0
branch
from
November 3, 2022 02:14
c3a5029
to
00e2df7
Compare
thescientist13
commented
Nov 10, 2022
color: var(--secondary-color); | ||
} | ||
|
||
div > p { |
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.
maybe need to test ~
* add cloud IDE caveat to puppeteer renderer plugin readme (#967) * init commit of refactoring for script tags with a src * initial CSS optimizing * sync optimized link tags in final output * refactored for shared reources * handle inline script bundling * support serving custom resources using Greenwood plugins in Rollup configuration without needing extra rollup plugin * non resource related Rollup plugins supported * custom resource plugins and rollup plugins working together * handle empty input for Rollup * updated lock file * handle inline style tag bundling and optimizing * default optimization spec passing * refactor merging app and page templates * clarifying corrections in spec files * inline optimization config working * none optimization support * none optimization support * none and static optimization overrides * refactor html rendering and optimizing * refactoring and more CLI specs passing * add missing variable * SSR specs and optimizing resource bundling * minor refactoring and logging * resolving some plugin specs * restore develop command related GraphQL specs * custom graphql query spec * all specs passing * drop rollup plugin deps from import typescript plugin * all Greenwood commands and specs passing * restore static router with custom prerender * restore postcss-import * refactor shared resources to a Map and handle dupes * restore local packages workaround for local Rollup bundling * better monorepo Rollup facade modules detection * switch console log * remove console logging * update plugin related docs * local solution for windows support * refactor errant object assign * full cross platform URL support * fix lint * fix extra bundles when custom prerendering * clean up stale or already tracked TODOs * add nested head tag smoke tests * check for app template validation for HUD display * misc refactoring and TODOs cleanup * restore static router (again) * standardize passing correct reference for prerender scripts * clean up data-gwd-opt markers from final HTML
thescientist13
force-pushed
the
enhancement/issue-763-custom-css-bundling
branch
from
November 11, 2022 15:38
935e292
to
0e54ed9
Compare
4 tasks
thescientist13
changed the title
Enhancement/issue 763 custom css bundling
Enhancement/issue 763 custom css minification and bundling
Nov 11, 2022
thescientist13
added a commit
that referenced
this pull request
Nov 12, 2022
* Enhancement/issue 971 refactor bundling and optimizations (#974) * add cloud IDE caveat to puppeteer renderer plugin readme (#967) * init commit of refactoring for script tags with a src * initial CSS optimizing * sync optimized link tags in final output * refactored for shared reources * handle inline script bundling * support serving custom resources using Greenwood plugins in Rollup configuration without needing extra rollup plugin * non resource related Rollup plugins supported * custom resource plugins and rollup plugins working together * handle empty input for Rollup * updated lock file * handle inline style tag bundling and optimizing * default optimization spec passing * refactor merging app and page templates * clarifying corrections in spec files * inline optimization config working * none optimization support * none optimization support * none and static optimization overrides * refactor html rendering and optimizing * refactoring and more CLI specs passing * add missing variable * SSR specs and optimizing resource bundling * minor refactoring and logging * resolving some plugin specs * restore develop command related GraphQL specs * custom graphql query spec * all specs passing * drop rollup plugin deps from import typescript plugin * all Greenwood commands and specs passing * restore static router with custom prerender * restore postcss-import * refactor shared resources to a Map and handle dupes * restore local packages workaround for local Rollup bundling * better monorepo Rollup facade modules detection * switch console log * remove console logging * update plugin related docs * local solution for windows support * refactor errant object assign * full cross platform URL support * fix lint * fix extra bundles when custom prerendering * clean up stale or already tracked TODOs * add nested head tag smoke tests * check for app template validation for HUD display * misc refactoring and TODOs cleanup * restore static router (again) * standardize passing correct reference for prerender scripts * clean up data-gwd-opt markers from final HTML * v0.27.0-alpha.0 * (WIP) swap PostCSS in CLI with custom AST solution * refactor website CSS * basic implementation of minified CSS from AST * support relative @import statements * refactor AST parsing to recursive function * support deeply nested @import and CSS custom properties * fix missing declaration semicolon * correctly close Rule brackets * general on leave refactoring * more selector support * all specs passing * support percentage * test for percentage * support url and @import url * add important support * custom implementation for handling matchers in attribute selectors * restore website prism styles * nth and lang selectors support * improve support for matching selector types * add error logging for CSS parsing
thescientist13
added a commit
that referenced
this pull request
Nov 23, 2022
* Enhancement/issue 971 refactor bundling and optimizations (#974) * add cloud IDE caveat to puppeteer renderer plugin readme (#967) * init commit of refactoring for script tags with a src * initial CSS optimizing * sync optimized link tags in final output * refactored for shared reources * handle inline script bundling * support serving custom resources using Greenwood plugins in Rollup configuration without needing extra rollup plugin * non resource related Rollup plugins supported * custom resource plugins and rollup plugins working together * handle empty input for Rollup * updated lock file * handle inline style tag bundling and optimizing * default optimization spec passing * refactor merging app and page templates * clarifying corrections in spec files * inline optimization config working * none optimization support * none optimization support * none and static optimization overrides * refactor html rendering and optimizing * refactoring and more CLI specs passing * add missing variable * SSR specs and optimizing resource bundling * minor refactoring and logging * resolving some plugin specs * restore develop command related GraphQL specs * custom graphql query spec * all specs passing * drop rollup plugin deps from import typescript plugin * all Greenwood commands and specs passing * restore static router with custom prerender * restore postcss-import * refactor shared resources to a Map and handle dupes * restore local packages workaround for local Rollup bundling * better monorepo Rollup facade modules detection * switch console log * remove console logging * update plugin related docs * local solution for windows support * refactor errant object assign * full cross platform URL support * fix lint * fix extra bundles when custom prerendering * clean up stale or already tracked TODOs * add nested head tag smoke tests * check for app template validation for HUD display * misc refactoring and TODOs cleanup * restore static router (again) * standardize passing correct reference for prerender scripts * clean up data-gwd-opt markers from final HTML * v0.27.0-alpha.0 * (WIP) swap PostCSS in CLI with custom AST solution * refactor website CSS * basic implementation of minified CSS from AST * support relative @import statements * refactor AST parsing to recursive function * support deeply nested @import and CSS custom properties * fix missing declaration semicolon * correctly close Rule brackets * general on leave refactoring * more selector support * all specs passing * support percentage * test for percentage * support url and @import url * add important support * custom implementation for handling matchers in attribute selectors * restore website prism styles * nth and lang selectors support * improve support for matching selector types * add error logging for CSS parsing
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
alpha.3
CLI
documentation
Greenwood specific docs
enhancement
Improve something existing (e.g. no docs, new APIs, etc)
Plugins
Greenwood Plugins
v0.27.0
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
#763
Summary of Changes
@import
TODO
@import
@import
syntax highlighting for Prism- handlingAttributeSelector
matcher csstree/csstree#207 (came up with my own work around)font familyside navigation!important
supportAs a bonus, seems like with this we could support nesting without needing to rely on PostCSS!? 🤩
csstree/csstree#79