next-superjson-plugin icon indicating copy to clipboard operation
next-superjson-plugin copied to clipboard

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

Open remorses opened this issue 1 year ago • 2 comments

This PR should fix compatibility with Next 15

Fix #110

remorses avatar Oct 28 '24 17:10 remorses

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. https://github.com/vercel/next.js/issues/72019

serg-and avatar Oct 29 '24 09:10 serg-and

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: https://github.com/vercel/next.js/pull/71683

remorses avatar Oct 29 '24 10:10 remorses

@remorses Can you update swc_core version again to be synced with next.js runtime?

orionmiz avatar Apr 04 '25 01:04 orionmiz