shorter minimized code for import()
This commit is contained in:
parent
ab8a768cac
commit
1d3e1b4208
|
@ -443,7 +443,7 @@ class RuntimeTemplate {
|
|||
);
|
||||
} else {
|
||||
runtimeRequirements.add(RuntimeGlobals.require);
|
||||
getModuleFunction = `__webpack_require__.bind(null, ${comment}${idExpr})`;
|
||||
getModuleFunction = `__webpack_require__.bind(__webpack_require__, ${comment}${idExpr})`;
|
||||
}
|
||||
} else if (strict) {
|
||||
runtimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);
|
||||
|
|
Loading…
Reference in New Issue