A workbox plugin that add integrity to workbox precache manifest.
npm install workbox-add-integrity
import addIntegrity from "workbox-add-integrity";
import { injectManifest } from "workbox-build";
const addIntegrityOptions = {
folder: "dist",
}
injectManifest({
manifestTransforms: [addIntegrity(addIntegrityOptions)],
});
MIT