From 45c5b329b5fb2bf2d7541807ecdc9c9ece98d54a Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Wed, 17 Jul 2024 10:20:10 +0200 Subject: [PATCH] only import needed elements --- rollup.config.js | 1 + src/App.svelte | 28 ++++++++++++---------------- src/pages/Launch.svelte | 4 ++-- src/pages/Settings.svelte | 8 ++++++-- 4 files changed, 21 insertions(+), 20 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index e1987ea..8a9191d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -69,6 +69,7 @@ export default { resolve({ browser: true, dedupe: ["svelte"], + exportConditions: ["svelte"], }), typescript({ sourceMap: !production, diff --git a/src/App.svelte b/src/App.svelte index be07f01..0e4d6eb 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,20 +1,16 @@