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 3615c68 commit 7e62710Copy full SHA for 7e62710
packages/vite/src/node/optimizer/index.ts
@@ -727,7 +727,6 @@ async function prepareEsbuildOptimizerRun(
727
// path.
728
const flatIdDeps: Record<string, string> = {}
729
const idToExports: Record<string, ExportsData> = {}
730
- const flatIdToExports: Record<string, ExportsData> = {}
731
732
const optimizeDeps = getDepOptimizationConfig(config, ssr)
733
@@ -754,7 +753,6 @@ async function prepareEsbuildOptimizerRun(
754
753
const flatId = flattenId(id)
755
flatIdDeps[flatId] = src
756
idToExports[id] = exportsData
757
- flatIdToExports[flatId] = exportsData
758
}),
759
)
760
0 commit comments