nick's blog
  • Home
  • About
Sign in Subscribe

webpack

A collection of 2 posts
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
Using Workbox + Webpack to precache with Service Worker
webpack Featured

Using Workbox + Webpack to precache with Service Worker

Workbox [https://github.com/GoogleChrome/workbox] is a new project from Google that makes service worker use-cases such as caching, background sync and queueing of analytics whilst offline easier to code. > "Workbox is a rethink [on] our previous service worker libraries and tools, sw-toolbox and sw-precache, and is
10 Jun 2017 3 min read
Page 1 of 1
nick's blog © 2025
Powered by Ghost