Skip to content

Instantly share code, notes, and snippets.

@patak-dev
Last active December 6, 2021 07:43
Show Gist options
  • Save patak-dev/3dca04beee7970ac4e144461428de565 to your computer and use it in GitHub Desktop.
Save patak-dev/3dca04beee7970ac4e144461428de565 to your computer and use it in GitHub Desktop.
Vite 2.7 SSR Fixes

Vite 2.7 SSR Fixes

Full Changelog

  • fix: add import support to ssrModuleLoader (#5197)
  • refactor: simplify resolveSSRExternal (#5544)
  • fix(ssr): use tryNodeResolve instead of resolveFrom (#3951)
  • fix: vitepress/theme in ssrExternals (#5651)
  • fix: tolerate undefined parent in hookNodeResolve callback (#5664)
  • fix(ssr): prefer CJS but still allow ESM entries (#5662)
  • fix(ssr): avoid resolving ESM for CJS dependencies (#5693)
  • fix(ssr): skip dedupe require in esm (#5714)
  • fix(hmr): prevent SSR from setting isSelfAccepting to false (#5377)
  • fix(ssr): skip dedupe require if noExternal true (#5928)
  • fix: SSR import in dev can't resolve default import (fix #5706) (#5923)
  • fix(ssr): allow primitive default exports and forwarded exports (#5973)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment