Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: hash manifest as well
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jul 8, 2022
1 parent e27570c commit a760a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/dev-bundler.ts
Expand Up @@ -144,7 +144,7 @@ const ${hashId(chunk.id + '-' + chunk.code)} = ${chunk.code}
`).join('\n')

const manifestCode = `const __modules__ = ${
genObjectFromRawEntries(chunks.map(chunk => [chunk.id, hashId(chunk.id)]))
genObjectFromRawEntries(chunks.map(chunk => [chunk.id, hashId(chunk.id + '-' + chunk.code)]))
}`

// https://github.com/vitejs/vite/blob/main/packages/vite/src/node/ssr/ssrModuleLoader.ts
Expand Down

0 comments on commit a760a2f

Please sign in to comment.