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

Showing 1 changed file with 1 addition and 4 deletions.

x
0 of 1 viewed, 1 left
1 addition and 4 deletionspackages/bling/src/vite.tsModified
View file
@@ -78,10 +78,7 @@
return compiled.code
​
- if (
- code.includes('fetch$(' || code.includes('split$(')) ||
- code.includes('server$(')
- ) {
+ if (/(?:fetch|split|server)\$\(/.test(code)) {
const compiled = await compileFile({
code,
viteCompile,