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.
1 parent 7751da2 commit a076864Copy full SHA for a076864
src/index.js
@@ -353,7 +353,7 @@ class MiniCssExtractPlugin {
353
]),
354
'}',
355
'var linkTag = document.createElement("link");',
356
- 'linkTag.rel = "supportsPreload ? "preload": "stylesheet";',
+ 'linkTag.rel = supportsPreload ? "preload": "stylesheet";',
357
'supportsPreload ? linkTag.as = "style" : linkTag.type = "text/css";',
358
'linkTag.onload = resolve;',
359
'linkTag.onerror = function(event) {',
0 commit comments