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.
2 parents 3f850db + a488adb commit 8fe4783Copy full SHA for 8fe4783
src/index.js
@@ -172,7 +172,7 @@ class MiniCssExtractPlugin {
172
'linkTag.rel = "stylesheet";',
173
'linkTag.onload = resolve;',
174
'linkTag.onerror = reject;',
175
- `linkTag.href = ${linkHrefPath};`,
+ `linkTag.href = ${mainTemplate.requireFn}.p + ${linkHrefPath};`,
176
'var head = document.getElementsByTagName("head")[0];',
177
'head.appendChild(linkTag);',
178
]),
0 commit comments