Open
Description
generateSw
and injectManifest
from workbox-build
write the service-worker file directly to disk. This means that in the context of rollup there is no opportunity to apply other plugins on the file, e.g. gzip. Would it be possible to read the content of the service-worker file and emit it as an asset using this.emitFile
in the writeBundle
(or any other possibly more suitable) hook in rollup-plugin-workbox
?