mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Refactor config json into a virtual module
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import type { ComponentProps } from "svelte";
|
||||
import type { ErrorParam } from "@app/lib/router/definitions";
|
||||
|
||||
import { config } from "@app/lib/config";
|
||||
import config from "virtual:config";
|
||||
import Command from "./Command.svelte";
|
||||
import ExternalLink from "./ExternalLink.svelte";
|
||||
import Icon from "./Icon.svelte";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
import config from "@app/config.json";
|
||||
import config from "virtual:config";
|
||||
|
||||
import IconButton from "./IconButton.svelte";
|
||||
import IconSmall from "./IconSmall.svelte";
|
||||
|
||||
Reference in New Issue
Block a user