Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Docs: how to opt back into SWC #36590

Closed
JoshuaKGoldberg opened this issue Apr 30, 2022 · 0 comments · Fixed by #36789
Closed

Docs: how to opt back into SWC #36590

JoshuaKGoldberg opened this issue Apr 30, 2022 · 0 comments · Fixed by #36789
Labels
Documentation Related to Next.js' official documentation.

Comments

@JoshuaKGoldberg
Copy link
Contributor

What is the improvement or update you wish to see?

https://nextjs.org/docs/messages/swc-disabled explains why a project opted out of SWC, but doesn't explain how to explicitly opt in. Is that possible? (if not, I suppose this is a feature request)

Is there any context that might help us understand?

Other tools such as Jest and Storybook react to the presense of a .babelrc. It's inconvenient -or sometimes not supported well- to have to configure those tools to point to a custom .babelrc location.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/messages/swc-disabled

@JoshuaKGoldberg JoshuaKGoldberg added the Documentation Related to Next.js' official documentation. label Apr 30, 2022
@vercel vercel locked and limited conversation to collaborators May 1, 2022
@timneutkens timneutkens converted this issue into discussion #36605 May 1, 2022
kodiakhq bot pushed a commit that referenced this issue May 10, 2022
fixes #36763
fixes #36590

## Feature

- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
   - It hasn't been accepted for implementation, although that process isn't clear, and this is a pretty trivial fix.
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
   - This is somewhat inherent in the error log
- [x] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant