diff --git a/lib/webworker/WebWorkerMainTemplatePlugin.js b/lib/webworker/WebWorkerMainTemplatePlugin.js index 7bccb45f5..0cc84c60a 100644 --- a/lib/webworker/WebWorkerMainTemplatePlugin.js +++ b/lib/webworker/WebWorkerMainTemplatePlugin.js @@ -45,7 +45,7 @@ class WebWorkerMainTemplatePlugin { "if(!installedChunks[chunkId]) {", Template.indent([ "importScripts(" + - `__webpack_require__.p + ` + + "__webpack_require__.p + " + mainTemplate.getAssetPath(JSON.stringify(chunkFilename), { hash: `" + ${mainTemplate.renderCurrentHashCode(hash)} + "`, hashWithLength: length =>