Skip to content

Commit

Permalink
fix: enable enableTreatRefLikeIdentifiersAsRefs in babel-config
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Jul 19, 2024
1 parent fb546f2 commit b0519f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const IS_E2E_TESTING = process.env.E2E_TESTING === 'true';

const ReactCompilerConfig = {
runtimeModule: 'react-compiler-runtime',
environment: {
enableTreatRefLikeIdentifiersAsRefs: true,
},
};
const defaultPresets = ['@babel/preset-react', '@babel/preset-env', '@babel/preset-flow', '@babel/preset-typescript'];
const defaultPlugins = [
Expand Down

0 comments on commit b0519f7

Please sign in to comment.