blitz-js / next-superjson-plugin

SuperJSON Plugin for Next.js Pages and Components
192 stars 13 forks source link

Bump swc_core to 0.78.* #88

Closed limwa closed 1 year ago

limwa commented 1 year ago

Since Next.js v13.4.8-canary.10 (https://github.com/vercel/next.js/pull/51943), swc_core 0.78.24 is now used.

Closes #86.

Edit: Changed "Related to" to "Closes"

MJomaa commented 1 year ago

I have a NextJS application that doesn't run because of this bug. Is there a way I can target a build of this merge branch? If it works then I can confirm it easily.

limwa commented 1 year ago

Hi, @MJomaa

I have already tested with a project of mine and it works.

Either way, I'll publish here in the next few hours a prebuilt version of the library that you can easily install using npm install.

If you don't want to wait, you can do the following steps (you need to have Rust installed):

limwa commented 1 year ago

Let me know if you need anything else!

MJomaa commented 1 year ago

No, thank your for the detailed instructions :)

limwa commented 1 year ago

Here is the prebuilt version of this PR:

next-superjson-plugin-bump-swc-core-v0.78.tar.gz

To install it in your project, run npm install https://github.com/blitz-js/next-superjson-plugin/files/11959307/next-superjson-plugin-bump-swc-core-v0.78.tar.gz or yarn add https://github.com/blitz-js/next-superjson-plugin/files/11959307/next-superjson-plugin-bump-swc-core-v0.78.tar.gz.

Please be sure to delete the .next folder before testing!

MJomaa commented 1 year ago

@limwa Can confirm, this fixes the issue. Thank you!

limwa commented 1 year ago

@limwa Can confirm, this fixes the issue. Thank you!

No worries, glad I was able to help!