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

chore(deps): update dependency @vitejs/plugin-react-swc to v3.8.0 #985

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

ganta-renovate[bot]
Copy link
Contributor

@ganta-renovate ganta-renovate bot commented Feb 8, 2025

This PR contains the following updates:

Package Type Update Change
@vitejs/plugin-react-swc devDependencies minor 3.7.2 -> 3.8.0

Release Notes

vitejs/vite-plugin-react-swc (@​vitejs/plugin-react-swc)

v3.8.0

Compare Source

Add useAtYourOwnRisk_mutateSwcOptions option

The future of Vite is with OXC, and from the beginning this was a design choice to not exposed too many specialties from SWC so that Vite React users can move to another transformer later.
Also debugging why some specific version of decorators with some other unstable/legacy feature doesn't work is not fun, so we won't provide support for it, hence the name useAtYourOwnRisk.

react({
  useAtYourOwnRisk_mutateSwcOptions(options) {
    options.jsc.parser.decorators = true;
    options.jsc.transform.decoratorVersion = "2022-03";
  },
});

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@ganta-renovate ganta-renovate bot added dependencies Pull requests that update a dependency file renovate Created by Renovate labels Feb 8, 2025
@ganta-renovate ganta-renovate bot enabled auto-merge February 8, 2025 23:23
@ganta-renovate ganta-renovate bot merged commit 8c85722 into main Feb 8, 2025
10 checks passed
@ganta-renovate ganta-renovate bot deleted the renovate/vitejs-plugin-react-swc-3.x branch February 8, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file renovate Created by Renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants