Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

feat: using oxc transfomer #1

Closed
wants to merge 11 commits into from
Closed

feat: using oxc transfomer #1

wants to merge 11 commits into from

Conversation

underfin
Copy link
Collaborator

@underfin underfin commented Oct 16, 2024

The package name changed to rolldown-vite-plugin-react.

Here has a react-emotion test is failed, because it used @emotion/babel-plugin, the oxc transformer hasn't the feature.

@underfin underfin marked this pull request as draft October 16, 2024 10:27
@underfin underfin marked this pull request as ready for review October 17, 2024 08:56
@underfin underfin force-pushed the using-oxc-transfomer branch from e823d2e to 40bf66c Compare October 17, 2024 08:57
@underfin underfin force-pushed the using-oxc-transfomer branch from 40bf66c to 2e11073 Compare October 17, 2024 09:08
Copy link

pkg-pr-new bot commented Oct 17, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/rolldown/vite-plugin-react/rolldown-vite-plugin-react@1

commit: 1e73bdc

export interface Options {
include?: string | RegExp | Array<string | RegExp>
exclude?: string | RegExp | Array<string | RegExp>
jsxInclude?: string | RegExp | string[] | RegExp[]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it mean you can't have something like this with oxc?

include: ['file', /some-file/]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is out-date, you could using @vitejs/plugin-react-oxc , it already migrate to vitejs#439.

@underfin underfin closed this Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants