Skip to content

Commit

Permalink
React compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Dec 6, 2024
1 parent 34f6091 commit 211c240
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export default defineConfig({
plugins: [
// Run the react-compiler on .tsx files
babel({
include: ["./app/**/*"],
filter: name => name.endsWith("tsx"),
filter: /\.tsx?$/,
babelConfig: {
presets: ["@babel/preset-typescript"],
plugins: ["babel-plugin-react-compiler"]
Expand Down

0 comments on commit 211c240

Please sign in to comment.