From 2b5d480a335bf608cece0dabbb3f7599d7992f4f Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Mon, 13 Feb 2023 17:33:53 +0100 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20cache=20the=20HTML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 25446ca43f..7223e796ed 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,6 +37,9 @@ export default () => { VitePWA({ injectRegister: "inline", registerType: "autoUpdate", + workbox: { + globPatterns: ["**/*.{js,css,ico,png,svg}"], + }, // includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'masked-icon.svg'], manifest: { name: "Outline",