Skip to content

Commit 7e62710

Browse files
authored
refactor: remove unused record flatIdToExports (#14557)
Co-authored-by: Eddie Kao <[email protected]>
1 parent 3615c68 commit 7e62710

File tree

1 file changed

+0
-2
lines changed
  • packages/vite/src/node/optimizer

1 file changed

+0
-2
lines changed

packages/vite/src/node/optimizer/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,6 @@ async function prepareEsbuildOptimizerRun(
727727
// path.
728728
const flatIdDeps: Record<string, string> = {}
729729
const idToExports: Record<string, ExportsData> = {}
730-
const flatIdToExports: Record<string, ExportsData> = {}
731730

732731
const optimizeDeps = getDepOptimizationConfig(config, ssr)
733732

@@ -754,7 +753,6 @@ async function prepareEsbuildOptimizerRun(
754753
const flatId = flattenId(id)
755754
flatIdDeps[flatId] = src
756755
idToExports[id] = exportsData
757-
flatIdToExports[flatId] = exportsData
758756
}),
759757
)
760758

0 commit comments

Comments
 (0)