nhoizey’s avatarnhoizey’s Twitter Archive—№ 104,157

  1. Now that I use @RollupJS to generate my #ServiceWorker with @workboxjs in @eleven_ty, I guess I should try to remove #Webpack from #JavaScript assets bundling… 😅 ⚓️ nho.io/n/2020/03/05/1/
    1. …in reply to @nhoizey
      Done! JavaScript now bundled/minified with @RollupJS (with both iife and esm versions), and Sass bundled/minified with node-sass in an npm script. 💪
      1. …in reply to @nhoizey
        @RollupJS 3:11 am… time to sleep… 😅
    2. …in reply to @nhoizey
      Trying to learn @RollupJS, I don't understand why every tutorial I read put Sass/CSS handling as a plugin of a JavaScript build… 🤔
    3. …in reply to @nhoizey
      @RollupJS @workboxjs @eleven_ty First question: how can I generate a JS bundle with a hashed filename with @RollupJS, and use this hashed name in my @eleven_ty pages?