This commit is contained in:
Xmader 2020-10-19 08:00:20 -04:00
parent 1b116afdda
commit 3e9cc0a417
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const getApiUrl = (type: FileType, index: number): string => {
/**
* Retrieve (webpack_require) a module from the page's webpack package
*
* I know this is super hacking.
* I know this is super hacky.
*/
const webpackHook = (moduleId: string, globalWebpackJson = window['webpackJsonpmusescore']) => {
const pack = globalWebpackJson.find(x => x[1][moduleId])