Merge remote-tracking branch 'origin/master' into pr/rkrasiuk/67

pull/2748/head
Alexandru Dima 5 years ago
commit 06d7cfe314
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -117,7 +117,7 @@ function createLoaderRules(languages, features, workers, outputPath, publicPath)
}
return {
getWorkerUrl: function (moduleId, label) {
var pathPrefix = (typeof window.__webpack_public_path__ === 'string' ? window.__webpack_public_path__ : ${JSON.stringify(publicPath)});
var pathPrefix = (typeof __webpack_public_path__ === 'string' ? __webpack_public_path__ : ${JSON.stringify(publicPath)});
return (pathPrefix ? stripTrailingSlash(pathPrefix) + '/' : '') + paths[label];
}
};

Loading…
Cancel
Save