Skip to content

Commit

Permalink
Update packages/vite/src/node/plugins/importAnalysis.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
  • Loading branch information
suguanYang and bluwy authored Oct 9, 2023
1 parent 74a7f71 commit 4ab0f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnalysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
)
}

if (isExternalUrl(url)) {
if (isExternalUrl(resolved.id)) {
return [resolved.id, resolved.id]
}

Expand Down

0 comments on commit 4ab0f43

Please sign in to comment.