Customization of Service Worker
Created by: raymondsze
Apart from offline support, service worker could be used for handling notification. Seems in 1.0.0, there is no way to do this kind of customization.
sw-precache-webpack-plugin provide the 'importScripts' option to do that purpose. offline-plugin also provide an option 'entry' for this purpose.
References https://github.com/NekR/offline-plugin/blob/master/docs/options.md https://github.com/goldhand/sw-precache-webpack-plugin/issues/67