Skip to content

Commit

Permalink
refactor(app): use \. in regex (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri POSTOLOV authored Dec 11, 2023
1 parent 10d94c1 commit c325f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/vite-plugin-relay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function relay(): Plugin {
transform(src, filePath) {
if (
!filePath.includes('node_modules') &&
/.tsx?$/.test(filePath) &&
/\.tsx?$/.test(filePath) &&
src.includes('graphql`')
) {
const out = transformSync(src, {
Expand Down

0 comments on commit c325f7b

Please sign in to comment.