-
Notifications
You must be signed in to change notification settings - Fork 902
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
Nuxt, baseURL, and SSG fixes #5716
Conversation
jamesdaniels
commented
Apr 20, 2023
•
edited
edited
- Handle Nuxt bundled dependencies
- Add fast dev-mode to Nuxt 2
- Handle ssr true/false in a more conventional way
- Call generate when targeting ssr: false
- Import all the integrations, rather than dynamically require
- Leave it to the framework to build an SPA
- Handle Nuxt3 baseURL
- SPAs for Nuxt3 and Angular now respect baseUrl
- If the Nuxt version couldn't be determined, assume Nuxt3
- Nuxt used process.cwd in a couple places, guard against this
- Fix serveOptimizedImages + SPA
src/frameworks/index.ts
Outdated
@@ -107,7 +109,7 @@ const SupportLevelWarnings = { | |||
), | |||
}; | |||
|
|||
export const FIREBASE_FRAMEWORKS_VERSION = "^0.7.0"; | |||
export const FIREBASE_FRAMEWORKS_VERSION = "0.6.1-canary.35a57cb"; |
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 is in ^0.8.0 now
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.
Are we able to test this with experiments enabled on the Firebase CLI?
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.
Once merged and cut, yes. If you'd like to help verify the changes in this branch, you can install it manually via npm i -g github:firebase/firebase-tools#jamesdaniels_nuxtFixes
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.
LGTM! Left a couple nits. Tried dev mode and deployments, all working fine.
Co-authored-by: Leonardo Ortiz <leo@monogram.io>
Co-authored-by: Leonardo Ortiz <leo@monogram.io>
Going to clean up my use of |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5716 +/- ##
==========================================
+ Coverage 55.10% 55.44% +0.34%
==========================================
Files 333 333
Lines 22892 23194 +302
Branches 4684 4787 +103
==========================================
+ Hits 12614 12861 +247
- Misses 9150 9213 +63
+ Partials 1128 1120 -8
☔ View full report in Codecov by Sentry. |