Skip to content

Commit 8e48f1a

Browse files
merging all conflicts
2 parents 3c6c2a5 + 8bb31ac commit 8e48f1a

4 files changed

Lines changed: 1068 additions & 37 deletions

File tree

src/content/community/conferences.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ September 10-11, 2026. In-person in Zurich, Switzerland
2424

2525
[Website](https://conf.zurichjs.com?utm_campaign=ZurichJS_Conf&utm_source=referral&utm_content=reactjs_community_conferences) - [Twitter](https://x.com/zurichjs) - [LinkedIn](https://www.linkedin.com/company/zurichjs/)
2626

27+
### React Conf Japan 2027 {/*react-conf-japan-2027*/}
28+
April 24, 2027. In-person in Tokyo, Japan
29+
30+
[Website](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp)
31+
2732
## Past Conferences {/*past-conferences*/}
2833

2934
### CityJS New Delhi 2026 {/*cityjs-newdelhi-2026*/}

src/content/learn/react-compiler/installation.md

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,36 @@ module.exports = {
6464

6565
### Vite {/*vite*/}
6666

67+
<<<<<<< HEAD
6768
Vite를 사용하는 경우 `vite-plugin-react`에 플러그인을 추가할 수 있습니다.
69+
=======
70+
If you use Vite with version 6.0.0 or later of `@vitejs/plugin-react`, you can use the `reactCompilerPreset`:
71+
>>>>>>> 8bb31acb86bf68fa33d97dd0f1b834dfa71e2b1a
6872
69-
```js {3,9}
73+
<TerminalBlock>
74+
npm install -D @rolldown/plugin-babel
75+
</TerminalBlock>
76+
77+
```js {3-4,9-11}
78+
// vite.config.js
79+
import { defineConfig } from 'vite';
80+
import react, { reactCompilerPreset } from '@vitejs/plugin-react';
81+
import babel from '@rolldown/plugin-babel';
82+
83+
export default defineConfig({
84+
plugins: [
85+
react(),
86+
babel({
87+
presets: [reactCompilerPreset()]
88+
}),
89+
],
90+
});
91+
```
92+
93+
<Note>
94+
In `@vitejs/plugin-react@6.0.0`, the inline Babel option was removed. If you're using an older version, you can use:
95+
96+
```js
7097
// vite.config.js
7198
import { defineConfig } from 'vite';
7299
import react from '@vitejs/plugin-react';
@@ -81,26 +108,25 @@ export default defineConfig({
81108
],
82109
});
83110
```
111+
</Note>
84112

113+
<<<<<<< HEAD
85114
또는 Vite용 별도의 Babel 플러그인을 선호하는 경우
115+
=======
116+
Alternatively, you can use the Babel plugin directly with `@rolldown/plugin-babel`:
117+
>>>>>>> 8bb31acb86bf68fa33d97dd0f1b834dfa71e2b1a
86118
87-
<TerminalBlock>
88-
npm install -D vite-plugin-babel
89-
</TerminalBlock>
90-
91-
```js {2,11}
119+
```js {3,9}
92120
// vite.config.js
93-
import babel from 'vite-plugin-babel';
94121
import { defineConfig } from 'vite';
95122
import react from '@vitejs/plugin-react';
123+
import babel from '@rolldown/plugin-babel';
96124

97125
export default defineConfig({
98126
plugins: [
99127
react(),
100128
babel({
101-
babelConfig: {
102-
plugins: ['babel-plugin-react-compiler'],
103-
},
129+
plugins: ['babel-plugin-react-compiler'],
104130
}),
105131
],
106132
});

0 commit comments

Comments
 (0)