mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 22:22:50 +00:00
refactor(web): import icon components directly
Temporary fix that resolves issues with slow building, building times go from 45s to 2s due to not having to go through all the icons. See: https://github.com/tabler/tabler-icons/issues/518
This commit is contained in:
1 parent
a632b9f264
commit
3eeccfd010
4 files changed
+12
-4
No files matched your search
@@ -1,5 +1,8 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { IconChevronLeft, IconChevronRight, IconChevronsLeft, IconChevronsRight } from '@tabler/icons-svelte';
|
import IconChevronLeft from '@tabler/icons-svelte/dist/svelte/icons/IconChevronLeft.svelte';
|
||||||
|
import IconChevronRight from '@tabler/icons-svelte/dist/svelte/icons/IconChevronRight.svelte';
|
||||||
|
import IconChevronsLeft from '@tabler/icons-svelte/dist/svelte/icons/IconChevronsLeft.svelte';
|
||||||
|
import IconChevronsRight from '@tabler/icons-svelte/dist/svelte/icons/IconChevronsRight.svelte';
|
||||||
import { onDestroy } from 'svelte';
|
import { onDestroy } from 'svelte';
|
||||||
import { tablePage } from '../../../store';
|
import { tablePage } from '../../../store';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { IconChevronDown, IconChevronUp } from '@tabler/icons-svelte';
|
import IconChevronDown from '@tabler/icons-svelte/dist/svelte/icons/IconChevronDown.svelte';
|
||||||
|
import IconChevronUp from '@tabler/icons-svelte/dist/svelte/icons/IconChevronUp.svelte';
|
||||||
|
|
||||||
import { queries, type QueryData } from '../../../store';
|
import { queries, type QueryData } from '../../../store';
|
||||||
import {
|
import {
|
||||||
createSvelteTable,
|
createSvelteTable,
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { IconChevronLeft } from '@tabler/icons-svelte';
|
import IconChevronLeft from '@tabler/icons-svelte/dist/svelte/icons/IconChevronLeft.svelte';
|
||||||
|
|
||||||
import { meta, router } from 'tinro';
|
import { meta, router } from 'tinro';
|
||||||
import { resourceData } from '../../../store';
|
import { resourceData } from '../../../store';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Search from './components/Search.svelte';
|
import Search from './components/Search.svelte';
|
||||||
import { IconFileAnalytics, IconSearch, IconSourceCode } from '@tabler/icons-svelte';
|
import IconFileAnalytics from '@tabler/icons-svelte/dist/svelte/icons/IconFileAnalytics.svelte';
|
||||||
|
import IconSearch from '@tabler/icons-svelte/dist/svelte/icons/IconSearch.svelte';
|
||||||
|
import IconSourceCode from '@tabler/icons-svelte/dist/svelte/icons/IconSourceCode.svelte';
|
||||||
import { router } from 'tinro';
|
import { router } from 'tinro';
|
||||||
import { search, filteredResources, generalData } from '../../store';
|
import { search, filteredResources, generalData } from '../../store';
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in new issue
Block a user