workbox-webpack-plugin
Classes
GenerateSW
This class supports creating a new, ready-to-use service worker file as part of the webpack compilation process.
Use an instance of GenerateSW
in the
plugins
array of a
webpack config.
InjectManifest
This class supports compiling a service worker file provided via swSrc
,
and injecting into that service worker a list of URLs and revision
information for precaching based on the webpack asset pipeline.
Use an instance of InjectManifest
in the
plugins
array of a
webpack config.