-
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 878 ssr custom resources #992
Feature/issue 878 ssr custom resources #992
Conversation
a640af1
to
8764136
Compare
c3a5029
to
00e2df7
Compare
d75dfab
to
04cca5a
Compare
.nvmrc
Outdated
@@ -1 +1 @@ | |||
14.17.0 | |||
16.15.0 |
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 this should actually be 16.17.0
to align with loaders API
6cfba1d
to
c781ddb
Compare
* 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
d6bdb32
to
4a448cf
Compare
@@ -203,6 +203,26 @@ async function getTemplate(compilation, route) { | |||
} | |||
``` | |||
|
|||
### Custom Imports (Experimental) |
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.
Should move the Experimental to its own line so deep links don't break when / if the experimental label gets removed.
* 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 * experimental loaders for SSR custom resources * set minimum nodejs v16.x requirement * latest WIP * custom SSR loaders for JSON * working test case testing for SSR prerender with import CSS plugin * experimental test task and github actions * remove demo code * add test cases for import JSON with prerendering * upgrade latest gallinago * enable experimental testing capabilities for CI * post rebase reconsilations * align versioning * experimental specs passing on windows * remove lint from experimental github actions * refine exp test tasks * minor refactor * fix windows exp github action workflow * increase mocha timeout for to accomodate exp test runs * formatting * updated import CSS and JSON plugin README docs * SSR usage for experimental loaders
Related Issue
Resolves #878 (alternative to #930)
Summary of Changes
import
with CSS and JSON in NodeJSTODO
CSSJSONenable in GitHub Actions$(pwd)
in Windows)~~--install
based test cases #787 (comment)staticRouter
- breaks onwindow
greenwoodPluginPolyfills
- breaks onwindow
window
/globalThis
handling wcc#100prerender
vs SSR vs CSR) #951?type=json
is still useful / needed - breaks in SSR, so should try and cutover to import assertions - import attributes for standard module formats; CSS and JSON #923shortCircuit
to validate correct settings / usage16.x
(and18.x
?) for project + GitHub Actions - standalone PRbuild
anddevelop
commands