Skip to content

Commit 8509b58

Browse files
authored
Update importAnalysis.ts
1 parent f66ba5c commit 8509b58

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/vite/src/node/plugins/importAnalysis.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,11 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
425425
ss: expStart,
426426
se: expEnd,
427427
d: dynamicIndex,
428-
// #2083 User may use escape path,
429-
// so use imports[index].n to get the unescaped string
430428
a: assertIndex,
431429
} = importSpecifier
430+
431+
// #2083 User may use escape path,
432+
// so use imports[index].n to get the unescaped string
432433
let specifier = importSpecifier.n
433434

434435
const rawUrl = source.slice(start, end)

0 commit comments

Comments
 (0)