Skip to content
Source
Sign inSign up
TanStack/bling

Fix apparent typo in Vite plugin #16

Closedjoshwilsonvu(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/16/headopened

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.

Sign in to join this conversation.