Skip to content

Commit 4aa0559

Browse files
Apply suggestions from code review
Co-Authored-By: Jason Miller <[email protected]>
1 parent 22823ca commit 4aa0559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ loader.pitch = function(request) {
115115
worker.url = `URL.createObjectURL(new Blob([${JSON.stringify(contents)}]))`;
116116
}
117117
else if (options.publicPath) {
118-
worker.url = `${JSON.stringify(options.publicPath)} + ${JSON.stringify(worker.file)}`;
118+
worker.url = `${JSON.stringify(options.publicPath + worker.file)}`;
119119
}
120120
else {
121121
worker.url = `__webpack_public_path__ + ${JSON.stringify(worker.file)}`;

0 commit comments

Comments
 (0)