Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Conversation

@danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#12039

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • οΏ½?️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

When node-fetch is inlined, it breaks the polyfilling of fetch (just try with nitro.externals: false). This will need to be resolved (or identified).

However, we should be supporting externals for these presets in any case, and that solves the immediate issue.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working nitro labels Oct 14, 2021
@danielroe danielroe requested a review from pi0 October 14, 2021 22:44
@danielroe danielroe self-assigned this Oct 14, 2021
@netlify
Copy link

netlify bot commented Oct 14, 2021

βœ”οΈ Deploy Preview for nuxt3-docs canceled.

πŸ”¨ Explore the source changes: 5d23c77

πŸ” Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/6168b2e81153530008099ee4

@pi0 pi0 changed the title fix(nitro): enable externals for platforms that support it fix(nitro): enable externals for azure and firebase presets Oct 18, 2021
@pi0 pi0 merged commit 9592967 into main Oct 18, 2021
@pi0 pi0 deleted the fix/nitro-externals branch October 18, 2021 08:04
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.x bug Something isn't working nitro

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSR content not shown when using Azure Functions

3 participants