Skip to content

Commit 5169f2e

Browse files
bluwypatak-dev
andauthored
chore: guard equals
Co-authored-by: patak <[email protected]>
1 parent cbd40f9 commit 5169f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export function getPotentialTsSrcPaths(filePath: string): string[] {
303303
}
304304

305305
const importQueryRE = /(\?|&)import=?(?:&|$)/
306-
const directRequestRE = /(\?|&)direct(?:&|$)/
306+
const directRequestRE = /(\?|&)direct=?(?:&|$)/
307307
const internalPrefixes = [
308308
FS_PREFIX,
309309
VALID_ID_PREFIX,

0 commit comments

Comments
 (0)