-
Notifications
You must be signed in to change notification settings - Fork 901
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
Support Astro hybrid rendering #5898
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5898 +/- ##
===========================================
+ Coverage 0 55.03% +55.03%
===========================================
Files 0 333 +333
Lines 0 22960 +22960
Branches 0 4708 +4708
===========================================
+ Hits 0 12636 +12636
- Misses 0 9196 +9196
- Partials 0 1128 +1128
☔ View full report in Codecov by Sentry. |
Thanks for working on this! I'm testing it out using |
@Snugug by default we use fast dev-mode (HMR) for |
Thanks! This got the static site running as expected, but routes I expect the server to handle aren't working. I get a blank white page with the following error:
|
@jamesdaniels lgtm. @Snugug I was able to run locally and deploy using the Astro starter project with the following import { defineConfig } from 'astro/config'
import node from '@astrojs/node'
// https://astro.build/config
export default defineConfig({
output: 'hybrid',
adapter: node({
mode: 'middleware'
}),
experimental: {
hybridOutput: true
}
}) I added |
Give Astro hybrid rendering a spin
npm i -g github:firebase/firebase-tools#jamesdaniels_astroHybridSupport
firebase init hosting
andfirebase deploy
from your Astro app.