From bfa85bb10b2ac48f66cafb4b966a0517c6b2d7ab Mon Sep 17 00:00:00 2001 From: Seedgou Date: Wed, 6 Dec 2023 16:00:18 +0800 Subject: [PATCH] fix usage in README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 146e2c2..6565819 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ npm install workbox-mirror-precache-plugin ``` ts import { addPlugins } from "workbox-precaching"; import { cacheNames } from "workbox-core"; +import { MirrorPrecachePlugin } from "workbox-mirror-precache-plugin"; const cacheName = cacheNames.precache; const entries = self.__WB_MANIFEST;