Skip to content

Commit

Permalink
chore: keep importer undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 11, 2024
1 parent 7270f4a commit 52fe30f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function environmentTransformMiddleware(
// }

try {
const importer = searchParams.get('importer') || ''
const importer = searchParams.get('importer') || undefined
const cached = req.headers['x-vite-cache'] === 'true'
const startOffset = req.headers['x-vite-start-offset']
? Number(req.headers['x-vite-start-offset'])
Expand Down

0 comments on commit 52fe30f

Please sign in to comment.