Skip to content

Bump swc_core to 0.78.* #88

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

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

limwa
Copy link
Contributor

@limwa limwa commented Jul 4, 2023

Since Next.js v13.4.8-canary.10 (vercel/next.js#51943), swc_core 0.78.24 is now used.

Closes #86.

Edit: Changed "Related to" to "Closes"

@MJomaa
Copy link

MJomaa commented Jul 5, 2023

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
Copy link
Contributor Author

limwa commented Jul 5, 2023

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):

  • clone my fork and checkout to this PR's branch
  • rustup target add wasm32-wasi
  • cargo prepublish --release
  • npm install or yarn
  • npm run prepack or yarn prepack
  • Go to your project's folder and run npm install <directory of the cloned repository> or the equivalent yarn command
  • be sure to remove the .next folder before testing if the problem is solved

@limwa
Copy link
Contributor Author

limwa commented Jul 5, 2023

Let me know if you need anything else!

@MJomaa
Copy link

MJomaa commented Jul 5, 2023

No, thank your for the detailed instructions :)

@limwa
Copy link
Contributor Author

limwa commented Jul 5, 2023

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
Copy link

MJomaa commented Jul 5, 2023

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

@limwa
Copy link
Contributor Author

limwa commented Jul 5, 2023

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

No worries, glad I was able to help!

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.

next-superjson-plugin is broken with Next 13.4.8
3 participants