Skip to content

Commit 8d7367f

Browse files
authored
upgrade react-compiler to v1 (#57)
Upgrade react-compiler to v1
1 parent 99243e2 commit 8d7367f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@vitest/browser": "3.2.4",
6363
"@vitest/coverage-v8": "3.2.4",
6464
"@vitest/ui": "3.2.4",
65-
"babel-plugin-react-compiler": "19.1.0-rc.3",
65+
"babel-plugin-react-compiler": "1.0.0",
6666
"chalk": "5.6.2",
6767
"happy-dom": "19.0.2",
6868
"knip": "5.64.2",

pnpm-lock.yaml

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

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig({
1313
// Run the react-compiler on .tsx files only when bundling
1414
{
1515
...babel({
16-
filter: /\.tsx?$/,
16+
filter: /\.(ts|tsx)$/,
1717
babelConfig: {
1818
presets: ["@babel/preset-typescript"],
1919
plugins: ["babel-plugin-react-compiler"],

0 commit comments

Comments
 (0)