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

Use the latest swc_core, fix compatibility with Next.js 15 #111

Draft
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

remorses
Copy link

@remorses remorses commented Oct 28, 2024

This PR should fix compatibility with Next 15

Fix #110

@serg-and
Copy link

Pages will still be broken, next changed the provided filename in the metadata. Plugin can't detect if a file is part of pages router.
Created an issue, hopefully they fix it soon.
vercel/next.js#72019

@remorses
Copy link
Author

remorses commented Oct 29, 2024

Thank you for letting me know, I also noticed Next.js is not using the latest version of swc_core in their repo, instead they use 0.106.3 for now https://github.com/vercel/next.js/blob/97153cc838d24c58c13f583f1d88f21b30a8621a/Cargo.toml#L89

PR to update to latest version: vercel/next.js#71683

@remorses remorses marked this pull request as draft October 29, 2024 10:08
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.

Nextjs 15 support
2 participants