nick's blog
  • Home
  • About
Sign in Subscribe

code-splitting

A collection of 1 post
JS code-splitting with ES modules in the browser
javascript Featured

JS code-splitting with ES modules in the browser

Recently the New York Times shipped an interactive [https://www.nytimes.com/interactive/2018/upshot/elections-poll-ky06-1.html] built with native JavaScript ES modules, using Rollup.js instead of Webpack to provide a 25% reduction in JS shipped. This was really interesting to me as they used code-splitting with ES module
20 Sep 2018 5 min read
Page 1 of 1
nick's blog © 2025
Powered by Ghost