From 39873228709f6b89e2aafc9d5d1b842aeef494ec Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 23 Jan 2025 14:27:02 +0100 Subject: [PATCH] Chore: attempt to fix build --- src/UI/StatisticsGUI.ts | 2 +- src/index.ts | 4 ++-- src/index_theme.ts.template | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UI/StatisticsGUI.ts b/src/UI/StatisticsGUI.ts index f3e6591345..5bbf0d2a31 100644 --- a/src/UI/StatisticsGUI.ts +++ b/src/UI/StatisticsGUI.ts @@ -1,4 +1,4 @@ -import { default as StatisticsSvelte } from "../UI/Statistics/StatisticsGui.svelte" +import StatisticsSvelte from "../UI/Statistics/StatisticsGui.svelte" const target = document.getElementById("main") target.innerHTML = "" diff --git a/src/index.ts b/src/index.ts index ced703d5a6..f7afb22783 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import DetermineTheme from "./Logic/DetermineTheme" -import { default as SingleThemeGui } from "./UI/SingleThemeGui.svelte" -import { default as CustomThemeError } from "./UI/CustomThemeError.svelte" +import SingleThemeGui from "./UI/SingleThemeGui.svelte" +import CustomThemeError from "./UI/CustomThemeError.svelte" async function main() { diff --git a/src/index_theme.ts.template b/src/index_theme.ts.template index 76a86c3322..f4fd0ce774 100644 --- a/src/index_theme.ts.template +++ b/src/index_theme.ts.template @@ -1,5 +1,5 @@ import MetaTagging from "./src/Logic/MetaTagging" -import {default as SingleThemeGui} from "./UI/SingleThemeGui.svelte" +import SingleThemeGui from "./src/UI/SingleThemeGui.svelte" async function main() {