Missed the action at the 2018 Chrome Dev Summit? Catch up with our playlist on the Google Chrome Developers channel on YouTube. Watch now.
This class supports taking an existing service worker file which already uses Workbox, and injecting a reference to a precache manifest into it, allowing it to efficiently precache the assets created by a webpack build.
Use an instance of InjectManifest in the
plugins array of a webpack config.