Skip to content

Commit

Permalink
fix: set scan strategy with a safer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jevon617 committed Dec 3, 2024
1 parent b7d9cbb commit c4d3729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function resolveOptions(options: Options): Options {
'**/*.tsx',
'**/*.jsx',
],
scanStrategy: 'component',
scanStrategy: 'text',
domInsertionStrategy: 'replaceHtml',
}
return {
Expand Down

0 comments on commit c4d3729

Please sign in to comment.