We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd40f9 commit 5169f2eCopy full SHA for 5169f2e
packages/vite/src/node/utils.ts
@@ -303,7 +303,7 @@ export function getPotentialTsSrcPaths(filePath: string): string[] {
303
}
304
305
const importQueryRE = /(\?|&)import=?(?:&|$)/
306
-const directRequestRE = /(\?|&)direct(?:&|$)/
+const directRequestRE = /(\?|&)direct=?(?:&|$)/
307
const internalPrefixes = [
308
FS_PREFIX,
309
VALID_ID_PREFIX,
0 commit comments