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.
1 parent 22823ca commit 4aa0559Copy full SHA for 4aa0559
src/index.js
@@ -115,7 +115,7 @@ loader.pitch = function(request) {
115
worker.url = `URL.createObjectURL(new Blob([${JSON.stringify(contents)}]))`;
116
}
117
else if (options.publicPath) {
118
- worker.url = `${JSON.stringify(options.publicPath)} + ${JSON.stringify(worker.file)}`;
+ worker.url = `${JSON.stringify(options.publicPath + worker.file)}`;
119
120
else {
121
worker.url = `__webpack_public_path__ + ${JSON.stringify(worker.file)}`;
0 commit comments