Skip to content

Commit b53e4df

Browse files
committed
chore: enable react compiler
1 parent 9a0e55f commit b53e4df

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ if (env.CLOUDFLARE_R2_PUBLIC_URL) {
4747
}
4848

4949
const config: NextConfig = {
50+
reactCompiler: true,
51+
5052
productionBrowserSourceMaps: true,
5153

5254
typescript: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
"@vitejs/plugin-react": "6.0.1",
146146
"@vitest/coverage-v8": "4.1.2",
147147
"@vitest/ui": "4.1.2",
148+
"babel-plugin-react-compiler": "1.0.0",
148149
"consola": "3.4.2",
149150
"cspell": "9.7.0",
150151
"discord-api-types": "0.38.42",

0 commit comments

Comments
 (0)