From 770a204be2c4f82b4b6768bf85dc6dde272b49cb Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sun, 2 Jul 2023 11:00:20 +0200 Subject: [PATCH] Moved icon SVGs out of `icons.svelte` --- .gitattributes | 6 +- frontend/src/components/icon.svelte | 113 +--------------------------- frontend/src/lib/icons.json | 44 +++++++++++ 3 files changed, 52 insertions(+), 111 deletions(-) create mode 100644 frontend/src/lib/icons.json diff --git a/.gitattributes b/.gitattributes index 36d1f7b..c9468fa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,9 @@ # Let GitHub Linguist ignore documentation and Wails generated files # https://github.com/github-linguist/linguist/blob/master/docs/overrides.md -/frontend/src/components/icon.svelte linguist-vendored /frontend/wailsjs/**/* linguist-generated /website/**/* linguist-documentation + +# Exclude certain files from exports +/.github/**/* export-ignore +/.vscode/**/* export-ignore +/website/**/* export-ignore diff --git a/frontend/src/components/icon.svelte b/frontend/src/components/icon.svelte index c5e2ff6..269ed33 100644 --- a/frontend/src/components/icon.svelte +++ b/frontend/src/components/icon.svelte @@ -1,4 +1,6 @@