Skip to content

Commit a076864

Browse files
author
jgillespie
committed
Fixed extra quotes in JS injection
1 parent 7751da2 commit a076864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ class MiniCssExtractPlugin {
353353
]),
354354
'}',
355355
'var linkTag = document.createElement("link");',
356-
'linkTag.rel = "supportsPreload ? "preload": "stylesheet";',
356+
'linkTag.rel = supportsPreload ? "preload": "stylesheet";',
357357
'supportsPreload ? linkTag.as = "style" : linkTag.type = "text/css";',
358358
'linkTag.onload = resolve;',
359359
'linkTag.onerror = function(event) {',

0 commit comments

Comments
 (0)