-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
fix(nuxt): do not relativise importmap if cdnURL is set
#33333
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
Conversation
|
|
WalkthroughIn packages/nuxt/src/core/runtime/nitro/handlers/renderer.ts, the import of hasProtocol from 'ufo' was removed. The logic deciding whether to cache entryPath versus relativise it was updated: entryPath is now cached when ssrContext.runtimeConfig.app.cdnURL is truthy, in addition to the existing absolute/relative path consideration. This replaces the prior reliance on hasProtocol to determine caching behaviour. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2024-11-05T15:22:54.759ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (20)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@nuxt/kit
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
CodSpeed Performance ReportMerging #33333 will not alter performanceComparing Summary
Footnotes |
🔗 Linked issue
resolves #33266
📚 Description
if
cdnURLis set it isn't going to be a relative path so we can skip checking/relativising the app