From 11947888aa45b15f297218854e4988219a97938b Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 17 Oct 2024 18:40:39 -0600 Subject: [PATCH] greentext+shiftjis: dependencies, dont wait for react --- src/greentext/index.ts | 2 +- src/greentext/manifest.json | 3 +++ src/shiftjis/index.ts | 2 +- src/shiftjis/manifest.json | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/greentext/index.ts b/src/greentext/index.ts index 17d489d..1a67cab 100644 --- a/src/greentext/index.ts +++ b/src/greentext/index.ts @@ -3,6 +3,6 @@ import { ExtensionWebpackModule } from "@moonlight-mod/types"; export const webpackModules: Record = { greentext: { entrypoint: true, - dependencies: [{ ext: "markdown", id: "markdown" }, { id: "react" }] + dependencies: [{ ext: "markdown", id: "markdown" }] } }; diff --git a/src/greentext/manifest.json b/src/greentext/manifest.json index 6c6e025..1abd3c8 100644 --- a/src/greentext/manifest.json +++ b/src/greentext/manifest.json @@ -13,5 +13,8 @@ ], "source": "https://github.com/Cynosphere/moonlight-extensions" }, + "dependencies": [ + "markdown" + ], "apiLevel": 2 } diff --git a/src/shiftjis/index.ts b/src/shiftjis/index.ts index cf6ce39..8e58ad3 100644 --- a/src/shiftjis/index.ts +++ b/src/shiftjis/index.ts @@ -3,6 +3,6 @@ import { ExtensionWebpackModule } from "@moonlight-mod/types"; export const webpackModules: Record = { shiftjis: { entrypoint: true, - dependencies: [{ ext: "markdown", id: "markdown" }, { id: "react" }] + dependencies: [{ ext: "markdown", id: "markdown" }] } }; diff --git a/src/shiftjis/manifest.json b/src/shiftjis/manifest.json index f0923a4..eb8206e 100644 --- a/src/shiftjis/manifest.json +++ b/src/shiftjis/manifest.json @@ -13,5 +13,8 @@ ], "source": "https://github.com/Cynosphere/moonlight-extensions" }, + "dependencies": [ + "markdown" + ], "apiLevel": 2 }