chore: import updates

This commit is contained in:
SethBurkart123
2025-08-17 11:27:23 +10:00
parent 2ef8bb215a
commit c7b69ad97b
+2 -2
View File
@@ -16,9 +16,9 @@ export async function main() {
if (settingsState.onoff) { if (settingsState.onoff) {
injectPageState(); injectPageState();
// TEMP FIX for bug! -> this is a hack to get the injected.css file to have HMR in development mode as this import system is currently broken with crxjs // Rather permanent FIX for bug! -> this is a hack to get the injected.css file to have HMR in development mode as this import system is currently broken with crxjs
if (import.meta.env.MODE === "development") { if (import.meta.env.MODE === "development") {
import("../css/injected.scss"); import("@/css/injected.scss");
} else { } else {
const injectedStyle = document.createElement("style"); const injectedStyle = document.createElement("style");
injectedStyle.textContent = injectedCSS; injectedStyle.textContent = injectedCSS;