Skip to content

Commit 211c240

Browse files
committed
React compiler
1 parent 34f6091 commit 211c240

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vite.config.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ export default defineConfig({
1010
plugins: [
1111
// Run the react-compiler on .tsx files
1212
babel({
13-
include: ["./app/**/*"],
14-
filter: name => name.endsWith("tsx"),
13+
filter: /\.tsx?$/,
1514
babelConfig: {
1615
presets: ["@babel/preset-typescript"],
1716
plugins: ["babel-plugin-react-compiler"]

0 commit comments

Comments
 (0)