Skip to content

Commit

Permalink
refactor: remove unused record flatIdToExports (#14557)
Browse files Browse the repository at this point in the history
Co-authored-by: Eddie Kao <[email protected]>
  • Loading branch information
kaochenlong and kaochenlong authored Oct 9, 2023
1 parent 3615c68 commit 7e62710
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,6 @@ async function prepareEsbuildOptimizerRun(
// path.
const flatIdDeps: Record<string, string> = {}
const idToExports: Record<string, ExportsData> = {}
const flatIdToExports: Record<string, ExportsData> = {}

const optimizeDeps = getDepOptimizationConfig(config, ssr)

Expand All @@ -754,7 +753,6 @@ async function prepareEsbuildOptimizerRun(
const flatId = flattenId(id)
flatIdDeps[flatId] = src
idToExports[id] = exportsData
flatIdToExports[flatId] = exportsData
}),
)

Expand Down

0 comments on commit 7e62710

Please sign in to comment.