fix html files not being packaged for build

This commit is contained in:
SethBurkart123
2024-03-31 10:27:13 +11:00
parent 116aa1f0b2
commit cfeb7ede5b
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import browser from 'webextension-polyfill';
import { SettingsState } from '../../types/storage';
import backgroundURL from './background/background.html?url'
export async function appendBackgroundToUI() {
const settings = await browser.storage.local.get() as SettingsState;
@@ -14,6 +13,6 @@ export async function appendBackgroundToUI() {
background.id = 'background';
background.classList.add('imageBackground');
background.setAttribute('excludeDarkCheck', 'true');
background.src = browser.runtime.getURL(backgroundURL);
background.src = browser.runtime.getURL('src/seqta/ui/background/background.html');
parent!.appendChild(background);
}