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

Commit

Permalink
fix: hotfix hashing chunk code rather than id
Browse files Browse the repository at this point in the history
-> revert once unjs/ohash#11 resolved
  • Loading branch information
danielroe committed Jul 12, 2022
1 parent a26901d commit 6cabe06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/dev-bundler.ts
Expand Up @@ -140,7 +140,7 @@ export async function bundleRequest (opts: TransformOptions, entryURL: string) {
// Parents: \n${listIds(chunk.parents)}
// Dependencies: \n${listIds(chunk.deps)}
// --------------------
const ${hashId(chunk.id)} = ${chunk.code}
const ${hashId(chunk.code)} = ${chunk.code}
`).join('\n')

const manifestCode = `const __modules__ = ${
Expand Down

0 comments on commit 6cabe06

Please sign in to comment.