We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86dfac commit 2509c13Copy full SHA for 2509c13
hotModuleReplacement.js
@@ -1,6 +1,6 @@
1
module.exports = function(publicPath, outputFilename) {
2
if (document) {
3
- var newHref = publicPath.match(/https?:/g) ? new URL(outputFilename, publicPath) : new URL(outputFilename, window.location);
+ var newHref = publicPath.match(/https?:/g) ? new URL(outputFilename, publicPath) : new URL(publicPath + outputFilename, window.location);
4
var links = document.getElementsByTagName('link');
5
6
//update the stylesheet corresponding to `outputFilename`
0 commit comments