Create a Service Worker file.
src/sw.js if it exists.
It is created using
generateSW of WorkBox.
* There's no watch mode.
Create a template to
The minimum configuration required for execution.
swDest properties, which are required by WorkBox, are ignored even if they are specified because they are generated automatically.
Default output file name is
sw.js, but you can change the file name.
Take a look at WorkBox#generateSW