-
-
Notifications
You must be signed in to change notification settings - Fork 174
feat: merge plugin-react-oxc
into plugin-react
#609
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
Changes from 10 commits
0689832
ff13227
044f872
e56415c
402e461
e87a017
7fe8032
90a5665
05c0c68
b9eb52c
355db75
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ import { | |
} from './helper' | ||
import path from 'node:path' | ||
import fs from 'node:fs' | ||
import * as vite from 'vite' | ||
|
||
test.describe('dev-default', () => { | ||
const f = useFixture({ root: 'examples/starter', mode: 'dev' }) | ||
|
@@ -44,6 +45,8 @@ test.describe('build-no-ssr', () => { | |
}) | ||
|
||
test.describe('dev-production', () => { | ||
test.skip('rolldownVersion' in vite) | ||
|
||
Comment on lines
27
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have test cases for For now I'll skip this case on rolldown since the behavior is same as previous There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it is a bug in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Created an issue #622 |
||
const f = useFixture({ | ||
root: 'examples/starter', | ||
mode: 'dev', | ||
|
@@ -62,6 +65,8 @@ test.describe('dev-production', () => { | |
}) | ||
|
||
test.describe('build-development', () => { | ||
test.skip('rolldownVersion' in vite) | ||
|
||
const f = useFixture({ | ||
root: 'examples/starter', | ||
mode: 'build', | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://esbuild.github.io/api/#jsx-import-source
Hi @sapphi-red, this behavior doesn't work properly in v5, are we considering to bring back this "feature"? Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can revert this change of this line. But does that setup work properly? I guess it would try to optimize react dependencies and would show a warning / error related to that.
vite-plugin-react/packages/plugin-react/src/index.ts
Line 409 in 355db75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, got your concern, thanks.