Skip to content
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

fix: correctly export next pages router files so they don't break client bundle #292

Merged
merged 6 commits into from
Apr 5, 2024

Conversation

michalkvasnicak
Copy link
Collaborator

@michalkvasnicak michalkvasnicak commented Apr 5, 2024

Change Summary

This PR fixes issues with importing pages router package to use with getServerSideProps(). Now it splits the entrypoint so server side code does not leak into client side bundle.

Merge Checklist

  • PR has a Changeset
  • PR includes documentation if necessary
  • PR updates the boilerplates if necessary

Closes #148

Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frames-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 9:27am
framesjs-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 9:27am

@michalkvasnicak michalkvasnicak self-assigned this Apr 5, 2024
@michalkvasnicak michalkvasnicak merged commit e681ce9 into dev Apr 5, 2024
7 checks passed
@michalkvasnicak michalkvasnicak deleted the fix/split-pages-router-and-fix-exports branch April 5, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants