Skip to content

Commit

Permalink
fix: warning when running react (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joabesv committed Dec 1, 2023
1 parent 332103a commit d31b4fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/configs/react.ts
Expand Up @@ -45,6 +45,11 @@ export async function react(
'react-hooks': pluginReactHooks,
'react-refresh': pluginReactRefresh,
},
settings: {
react: {
version: 'detect',
},
},
},
{
files,
Expand Down

0 comments on commit d31b4fd

Please sign in to comment.