From 02974c80ceb358f2d4a56edc8f6dee338b6016f2 Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Thu, 12 Oct 2023 11:48:45 +0100 Subject: [PATCH] chore: set service worker rollup format to iife Signed-off-by: Pedro Lamas --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 2526f1320d..e27978243c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -27,7 +27,8 @@ export default defineConfig({ globPatterns: [ '**/*.{js,css,html,ttf,woff,woff2,wasm}' ], - maximumFileSizeToCacheInBytes: 4 * 1024 ** 2 + maximumFileSizeToCacheInBytes: 4 * 1024 ** 2, + rollupFormat: 'iife' }, manifest: { name: 'fluidd',