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
2 reposts
-
-
3 replies
-
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?
-
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?
-
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.