~/talk

The hashing dilemma, Rollup 3, and our future with Vite

Talkat ViteConf 2022 · 2022-10-11..10-12· [javascript, compilers-and-language-design]
links:none on file
slides:none on file

Rollup had a content-hash bug open since May 2019 that broke caching for cyclic chunk graphs; Rollup 3 fixes this by writing placeholders for chunk imports, running renderChunk, then replacing placeholders to compute stable content-only hashes so transforms and minifiers can run without invalidating hashes. New features: placeholder-based hashing, renderChunk gets full chunk graph, per-chunk banner/footer and improved source-map handling, and a planned minimum chunk size merging plus exploration of Rust/SWC for native speed.

AI-written summary · about

  1. 0:00Intro
  2. 1:27Content-based file names
  3. 2:50Problem: Circular references
  4. 5:45Rollup 3 hashing
  5. 8:43Why did Vite choose Rollup?
  6. 9:56A personal detour
  7. 10:56Strategic decisions
  8. 13:29Encourage third-party tooling
  9. 14:12Creating a partnership
  10. 15:03More Rollup 3 goodies
  11. 16:03What is next?
  12. 16:54What about build speed?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.