~/talk

Tree Shaking — Deploy Even Less Code to Production

TalkinFrenchat DevFest Nantes 2016 · 2016-11-09..11-10· [javascript, frontend-architecture]
slides:none on file

Explains how ES6 module import/export enables "tree-shaking" in bundlers Webpack 2 and Rollup.js to produce smaller production bundles by including only used code. Covers benefits compared to traditional JS optimizers like UglifyJs, shows a simple usage example with Webpack 2 and Rollup.js, and demonstrates extracting only needed parts from the ES6-rewritten lodash (2015).

AI-written summary · about

  1. 0:00Introduction and presentation
  2. 1:17Context
  3. 3:30The treeshaking phase
  4. 4:47Deploy even less code
  5. 7:19Advantages and disadvantages
  6. 17:52Conclusion
~/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.