Skip to content

rwv/workbox-add-integrity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 workbox-add-integrity

A workbox plugin that add integrity to workbox precache manifest.

GitHub Workflow Status Codecov Coverage npm NPM

Usage

npm install workbox-add-integrity
import addIntegrity from "workbox-add-integrity";
import { injectManifest } from "workbox-build";

const addIntegrityOptions = {
  folder: "dist",
}

injectManifest({
  manifestTransforms: [addIntegrity(addIntegrityOptions)],
});

License

MIT