Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho committed Feb 17, 2022
1 parent 2e88d35 commit bff7271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/importGlob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ export async function transformImportGlob(
importsString += `import ${
isEagerDefault ? `` : `* as `
}${identifier} from ${JSON.stringify(
isCSSRequest(importee) ? `${importee}?used` : ''
isCSSRequest(importee) ? `${importee}?used` : importee
)};`
entries += ` ${JSON.stringify(file)}: ${identifier},`
} else {
let imp = `import(${JSON.stringify(
isCSSRequest(importee) ? `${importee}?used` : ''
isCSSRequest(importee) ? `${importee}?used` : importee
)})`
if (!normalizeUrl && preload) {
imp =
Expand Down

0 comments on commit bff7271

Please sign in to comment.