2020-02-25 08:18:50 +01:00
|
|
|
/* global __webpack_require__ */
|
|
|
|
|
2020-07-30 00:26:51 +02:00
|
|
|
var webpackModules;
|
2020-07-29 03:23:47 +02:00
|
|
|
|
2020-02-25 08:18:50 +01:00
|
|
|
function debugRequire(request) {
|
2020-07-29 03:23:47 +02:00
|
|
|
if (!Object.prototype.hasOwnProperty.call(debugRequire.ids, request)) {
|
|
|
|
throw new Error("Cannot find module '" + request + "'");
|
|
|
|
}
|
2020-07-30 00:26:51 +02:00
|
|
|
var moduleId = debugRequire.ids[request];
|
2020-07-29 03:23:47 +02:00
|
|
|
if (!Object.prototype.hasOwnProperty.call(webpackModules, moduleId)) {
|
|
|
|
throw new Error("Module '" + request + "' has not been loaded yet");
|
|
|
|
}
|
|
|
|
return __webpack_require__(moduleId);
|
2020-02-25 08:18:50 +01:00
|
|
|
}
|
|
|
|
|
2020-07-29 03:23:47 +02:00
|
|
|
debugRequire.initialize = function (ids, modules) {
|
2020-02-25 08:18:50 +01:00
|
|
|
debugRequire.ids = ids;
|
2020-07-29 03:23:47 +02:00
|
|
|
webpackModules = modules;
|
2020-02-25 08:18:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = debugRequire;
|