this repo has no description

Merge branch 'develop' of github.com:moonlight-mod/moonlight into develop

+21
+14
.vscode/tasks.json
··· 1 + { 2 + "version": "2.0.0", 3 + "tasks": [ 4 + { 5 + "label": "build", 6 + "type": "shell", 7 + "command": "pnpm run build", 8 + "group": { 9 + "kind": "build", 10 + "isDefault": true 11 + } 12 + } 13 + ] 14 + }
+7
packages/core/src/patch.ts
··· 74 74 replace.type === undefined || 75 75 replace.type === PatchReplaceType.Normal 76 76 ) { 77 + // Add support for \i to match rspack's minified names 78 + if (typeof replace.match !== "string") { 79 + replace.match = new RegExp( 80 + replace.match.source.replace(/\\i/g, "[A-Za-z_$][\\w$]*"), 81 + replace.match.flags 82 + ); 83 + } 77 84 // tsc fails to detect the overloads for this, so I'll just do this 78 85 // Verbose, but it works 79 86 let replaced;