Skip to content

fix(prerenderer): don't inherit static config#1324

Merged
pi0 merged 2 commits intomainfrom
fix/force-non-static-prerenderer
Jun 20, 2023
Merged

fix(prerenderer): don't inherit static config#1324
pi0 merged 2 commits intomainfrom
fix/force-non-static-prerenderer

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

❓ 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

Without this, if we pass static: true in initial config we will be unable to prerender anything.

📝 Checklist

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

@danielroe danielroe added the bug Something isn't working label Jun 20, 2023
@danielroe danielroe requested a review from pi0 June 20, 2023 12:57
@danielroe danielroe self-assigned this Jun 20, 2023
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 20, 2023

Codecov Report

Merging #1324 (c688763) into main (9bb674f) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1324      +/-   ##
==========================================
- Coverage   76.22%   76.21%   -0.02%     
==========================================
  Files          68       68              
  Lines        6953     6949       -4     
  Branches      684      686       +2     
==========================================
- Hits         5300     5296       -4     
  Misses       1652     1652              
  Partials        1        1              
Impacted Files Coverage Δ
src/prerender.ts 89.53% <100.00%> (-0.13%) ⬇️

@pi0 pi0 changed the title fix: don't inherit static config for prerenderer fix(prerenderer): don't inherit static config Jun 20, 2023
@pi0 pi0 merged commit 0ffab31 into main Jun 20, 2023
@pi0 pi0 deleted the fix/force-non-static-prerenderer branch June 20, 2023 13:03
@pi0
Copy link
Copy Markdown
Member

pi0 commented Jun 20, 2023

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants