use workbox InjectManifest option instead of GenerateSW this way you still have the automatically generated Precache Manifest, but you can add custom code to your sw.