only import needed elements
This commit is contained in:
parent
b0f180f1fb
commit
45c5b329b5
|
@ -69,6 +69,7 @@ export default {
|
||||||
resolve({
|
resolve({
|
||||||
browser: true,
|
browser: true,
|
||||||
dedupe: ["svelte"],
|
dedupe: ["svelte"],
|
||||||
|
exportConditions: ["svelte"],
|
||||||
}),
|
}),
|
||||||
typescript({
|
typescript({
|
||||||
sourceMap: !production,
|
sourceMap: !production,
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
import Avatar from "flowbite-svelte/Avatar.svelte";
|
||||||
Avatar,
|
import Dropdown from "flowbite-svelte/Dropdown.svelte";
|
||||||
Dropdown,
|
import DropdownItem from "flowbite-svelte/DropdownItem.svelte";
|
||||||
DropdownItem,
|
import DropdownHeader from "flowbite-svelte/DropdownHeader.svelte";
|
||||||
DropdownHeader,
|
import DropdownDivider from "flowbite-svelte/DropdownDivider.svelte";
|
||||||
DropdownDivider,
|
import Button from "flowbite-svelte/Button.svelte";
|
||||||
Button,
|
import Indicator from "flowbite-svelte/Indicator.svelte";
|
||||||
Indicator,
|
import ArrowLeftSolid from "flowbite-svelte-icons/ArrowLeftSolid.svelte";
|
||||||
} from "flowbite-svelte";
|
import ArrowRightFromBracketSolid from "flowbite-svelte-icons/ArrowRightFromBracketSolid.svelte";
|
||||||
import {
|
import ArrowRightToBracketSolid from "flowbite-svelte-icons/ArrowRightToBracketSolid.svelte";
|
||||||
ArrowLeftSolid,
|
import HeartSolid from "flowbite-svelte-icons/HeartSolid.svelte";
|
||||||
ArrowRightFromBracketSolid,
|
import UserSettingsSolid from "flowbite-svelte-icons/UserSettingsSolid.svelte";
|
||||||
ArrowRightToBracketSolid,
|
|
||||||
HeartSolid,
|
|
||||||
UserSettingsSolid,
|
|
||||||
} from "flowbite-svelte-icons";
|
|
||||||
import ezppLogo from "../public/favicon.png";
|
import ezppLogo from "../public/favicon.png";
|
||||||
import {
|
import {
|
||||||
currentPage,
|
currentPage,
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Button } from "flowbite-svelte";
|
import Button from "flowbite-svelte/Button.svelte";
|
||||||
import Progressbar from "../lib/Progressbar.svelte";
|
import Progressbar from "../lib/Progressbar.svelte";
|
||||||
import {
|
import {
|
||||||
launching,
|
launching,
|
||||||
patch,
|
patch,
|
||||||
launchStatus,
|
launchStatus,
|
||||||
launchPercentage
|
launchPercentage,
|
||||||
} from "./../storage/localStore";
|
} from "./../storage/localStore";
|
||||||
let progressbarFix = true;
|
let progressbarFix = true;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Button, ButtonGroup, Input, Toggle } from "flowbite-svelte";
|
import Button from "flowbite-svelte/Button.svelte";
|
||||||
import { FileSearchSolid, FolderSolid } from "flowbite-svelte-icons";
|
import ButtonGroup from "flowbite-svelte/ButtonGroup.svelte";
|
||||||
|
import Input from "flowbite-svelte/Input.svelte";
|
||||||
|
import Toggle from "flowbite-svelte/Toggle.svelte";
|
||||||
|
import FileSearchSolid from "flowbite-svelte-icons/FileSearchSolid.svelte";
|
||||||
|
import FolderSolid from "flowbite-svelte-icons/FolderSolid.svelte";
|
||||||
import { patch, presence, logging } from "./../storage/localStore";
|
import { patch, presence, logging } from "./../storage/localStore";
|
||||||
|
|
||||||
let folderPath: string = "";
|
let folderPath: string = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user