Remove untranspiled ES2015 from final output

pull/2748/head
Alex Walter 7 years ago committed by GitHub
parent 2f7821f494
commit afb9f52b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save