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

Unable to make custom plugins work with next-swc 13.2.4 #7150

Closed
timofei-iatsenko opened this issue Mar 27, 2023 · 2 comments
Closed

Unable to make custom plugins work with next-swc 13.2.4 #7150

timofei-iatsenko opened this issue Mar 27, 2023 · 2 comments
Labels
Milestone

Comments

@timofei-iatsenko
Copy link

timofei-iatsenko commented Mar 27, 2023

Describe the bug

Related issue lingui/swc-plugin#39

The custom plugin don't work in NextJS after updating to 13.2.4

I followed https://swc.rs/docs/plugin/selecting-swc-core doc and updated swc_core dep to 0.69 and rust to nightly-2022-09-23 (as in the SWC repo itself) and recompiled the plugin.

It still doesn't work. The error message is unusual. It's not a LayoutError from rkyv as if the AST layout is changed. It's

memory allocation of 6182582528 bytes failed

With no more details.

Platforrm: Mac m1

I also tried bumping version to the latest 0.72 but had no luck.

Input code

No response

Config

No response

Playground link

No response

Expected behavior

should work

Actual behavior

No response

Version

0.69

Additional context

No response

@kdy1 kdy1 added this to the Planned milestone Mar 28, 2023
@kdy1
Copy link
Member

kdy1 commented Mar 29, 2023

Closing in favor of vercel/next.js#46989 (comment)

I'll publish a new version soon and document this issue.

@kdy1 kdy1 closed this as completed Mar 29, 2023
@kdy1 kdy1 modified the milestones: Planned, v1.3.43, v1.3.44 Mar 29, 2023
@swc-bot
Copy link
Collaborator

swc-bot commented Apr 29, 2023

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@swc-project swc-project locked as resolved and limited conversation to collaborators Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants