From 4c8094a876e569545678631b43455e4176b57d76 Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Fri, 24 May 2024 17:06:42 +1000 Subject: [PATCH] fix: image backgrounds not working after build --- manifest.json | 4 ++++ vite.config.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 2ddbcae3..48ec7a2e 100644 --- a/manifest.json +++ b/manifest.json @@ -33,6 +33,10 @@ { "resources": ["src/interface/index.html"], "matches": ["*://*/*"] + }, + { + "resources": ["src/seqta/ui/background/background.html"], + "matches": ["*://*/*"] } ] } diff --git a/vite.config.ts b/vite.config.ts index c6e5172c..6bddc342 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,7 +29,8 @@ export default defineConfig({ minify: false, rollupOptions: { input: { - settings: join(__dirname, 'src', 'interface', 'index.html') + settings: join(__dirname, 'src', 'interface', 'index.html'), + backgrounds: join(__dirname, 'src', 'seqta', 'ui', 'background', 'background.html') } } }