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 f66ba5c commit 8509b58Copy full SHA for 8509b58
1 file changed
packages/vite/src/node/plugins/importAnalysis.ts
@@ -425,10 +425,11 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
425
ss: expStart,
426
se: expEnd,
427
d: dynamicIndex,
428
- // #2083 User may use escape path,
429
- // so use imports[index].n to get the unescaped string
430
a: assertIndex,
431
} = importSpecifier
+
+ // #2083 User may use escape path,
432
+ // so use imports[index].n to get the unescaped string
433
let specifier = importSpecifier.n
434
435
const rawUrl = source.slice(start, end)
0 commit comments