this repo has no description
1import type { ExtensionWebpackModule, Patch } from "@moonlight-mod/types";
2
3export const patches: Patch[] = [
4 {
5 find: 'setProperty("--custom-app-panels-height"',
6 replace: [
7 {
8 match: /\(0,.\.jsx\)\((.\..),{section:/,
9 replacement: (prev, el) => `...require("appPanels_appPanels").default.getPanels(${el}),${prev}`
10 }
11 ]
12 }
13];
14
15export const webpackModules: Record<string, ExtensionWebpackModule> = {
16 appPanels: {
17 dependencies: [{ id: "react" }]
18 }
19};