mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix imports
This commit is contained in:
parent
06c6b8c5af
commit
e5ab7c93f9
@ -1,6 +1,5 @@
|
||||
import stylus from 'stylus';
|
||||
|
||||
// @ts-ignore
|
||||
import cssStr from "@assets/css/styles.styl" with { type: "text" };
|
||||
|
||||
const generatedCss = await (stylus(cssStr, {})
|
||||
|
3
src/types/index.d.ts
vendored
3
src/types/index.d.ts
vendored
@ -67,3 +67,6 @@ type XcloudTitleInfo = {
|
||||
tileImageUrl: string;
|
||||
};
|
||||
};
|
||||
|
||||
declare module "*.svg";
|
||||
declare module "*.styl";
|
||||
|
@ -1,26 +1,14 @@
|
||||
// @ts-ignore
|
||||
import iconController from "@assets/svg/controller.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconCopy from "@assets/svg/copy.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconCursorText from "@assets/svg/cursor-text.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconDisplay from "@assets/svg/display.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconMouseSettings from "@assets/svg/mouse-settings.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconMouse from "@assets/svg/mouse.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconNew from "@assets/svg/new.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconQuestion from "@assets/svg/question.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconRemotePlay from "@assets/svg/remote-play.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconStreamSettings from "@assets/svg/stream-settings.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconStreamStats from "@assets/svg/stream-stats.svg" with { type: "text" };
|
||||
// @ts-ignore
|
||||
import iconTrash from "@assets/svg/trash.svg" with { type: "text" };
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user