Note from 5th March 2020

Now that I use #Rollup to generate my #ServiceWorker with #Workbox in #Eleventy, I guess I should try to remove #Webpack from #JavaScript assets bundling… 😅

11 Webmentions

6 likes

2 reposts

  1. JSBot avatar
  2. Javascript Digest avatar

3 replies

  1. Nicolas Hoizey avatar Nicolas Hoizey
    @RollupJS@twitter.com @workboxjs@twitter.com @eleven_ty@twitter.com First question: how can I generate a JS bundle with a hashed filename with @RollupJS@twitter.com, and use this hashed name in my @eleven_ty@twitter.com pages?
  2. Zell Liew 🤗 avatar Zell Liew 🤗
    Yep I did. I used Gulp in the process since I already need Gulp for my workflow.

    But I don't use workbox. Would that work for you?
  3. Nicolas Hoizey avatar Nicolas Hoizey
    I use Rollup to build the target Service Worker including Workbox libs, but workbox-cli to inject precache assets list, so I guess I could use the same Rollup for other JavaScript assets bundling.