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

fix(nuxt): use virtual server stub with ssr: false #5773

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jul 7, 2022

πŸ”— Linked issue

resolves nuxt/nuxt#13986

resolves nuxt/nuxt#13901

❓ 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 server-side rendering is disabled, we do not generate .nuxt/dist/server/index.mjs. A guard with NUXT_NO_SSR environment variable was being used but it does not always works and makes issues with rollup that tries to eagerly parse the import statement.

πŸ“ Checklist

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

@netlify
Copy link

netlify bot commented Jul 7, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit f0d5eac
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62c70dabc5ed4600081636fe

@pi0 pi0 merged commit f321a56 into main Jul 7, 2022
@pi0 pi0 deleted the fix/spa-fallback branch July 7, 2022 16:51
danielroe added a commit to nuxt/bridge that referenced this pull request Jul 8, 2022
@pi0 pi0 mentioned this pull request Jul 11, 2022
@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
Projects
None yet
2 participants