We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d390a2 + 5afbaf6 commit 53d5a59Copy full SHA for 53d5a59
1 file changed
lib/container/RemoteRuntimeModule.js
@@ -73,7 +73,7 @@ class RemoteRuntimeModule extends RuntimeModule {
73
Template.indent(
74
`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`
75
),
76
- `__webpack_require__.m[id] = ${runtimeTemplate.basicFunction("", [
+ `${RuntimeGlobals.moduleFactories}[id] = ${runtimeTemplate.basicFunction("", [
77
"throw error;"
78
])}`,
79
"data.p = 0;"
@@ -111,7 +111,7 @@ class RemoteRuntimeModule extends RuntimeModule {
111
)};`,
112
`var onFactory = ${runtimeTemplate.basicFunction("factory", [
113
"data.p = 1;",
114
- `__webpack_require__.m[id] = ${runtimeTemplate.basicFunction(
+ `${RuntimeGlobals.moduleFactories}[id] = ${runtimeTemplate.basicFunction(
115
"module",
116
["module.exports = factory();"]
117
)}`
0 commit comments