Skip to content

Commit

Permalink
Update packages/vite/src/node/plugins/importAnalysisBuild.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Fu <[email protected]>
  • Loading branch information
gajus and antfu authored Aug 2, 2022
1 parent 2a0c8e2 commit e626e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnalysisBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ const __viteFileDeps = ${JSON.stringify(
)
)}
function __viteMapDep(indexes) {
return __viteFileDeps.map((i) => deps[i])
return indexes.map((i) => __viteFileDeps[i])
}`)

// there may still be markers due to inlined dynamic imports, remove
Expand Down

0 comments on commit e626e02

Please sign in to comment.