DEV Community

loading...

Discussion on: Your first Progressive Web App on Rails

Collapse
delblues profile image
delblues

Hi Ross, very good article. I have this rails (v4.2) app with webpack working and delayed jobs running on background, and I would to know if it is possible to use this gem together with those?
tks

Collapse
rossta profile image
Ross Kaffenberger Author

Hey there. If you're using Webpack instead of the typical Rails asset pipeline, you probably just want to use Webpack to transpile and bundle your Service Worker scripts. This gem is mostly useful for folks who use Sprockets to bundle assets in their Rails apps.

The use and methodology for delayed jobs in your app is completely orthogonal to your approach to front-end assets; there'd be no conflict and/or benefit for background processing in whether you use this gem or not.