Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Fix apparent typo in Vite plugin - #16

Closed
joshwilsonvu wants to merge 1 commit into
TanStack:mainfrom
joshwilsonvu:patch-1
Closed

joshwilsonvu wants to merge 1 commit into
TanStack:mainfrom
joshwilsonvu:patch-1

Conversation

@joshwilsonvu

Copy link
Copy Markdown

Was just browsing the code and noticed a probable misplaced parenthesis:

  if (
    code.includes(
-     'fetch$(' || code.includes('split$(')
+     'fetch$('
    ) ||
+   code.includes('split$(') ||
    code.includes('server$(')
  ) {

Fixed and switched to a regex to avoid multiple passes.

@joshwilsonvu

Copy link
Copy Markdown
Author

Actually, this duplicates #15.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant