fix(template): Syntax error caused by runtime template
This commit is contained in:
parent
13f7c66629
commit
1e9ee8ab0f
|
@ -133,7 +133,7 @@ class RuntimeTemplate {
|
|||
* @returns {string} generated error IIFE
|
||||
*/
|
||||
missingModule({ request }) {
|
||||
return `(${this.throwMissingModuleErrorFunction({ request })}())`;
|
||||
return `Object(${this.throwMissingModuleErrorFunction({ request })}())`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue