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 5ffd858 commit 89e3f03Copy full SHA for 89e3f03
src/index.js
@@ -862,7 +862,7 @@ class MiniCssExtractPlugin {
862
'err.code = "CSS_CHUNK_LOAD_FAILED";',
863
"err.type = errorType;",
864
"err.request = realHref;",
865
- "linkTag.parentNode.removeChild(linkTag)",
+ "if(linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)",
866
"reject(err);",
867
]),
868
"}",
0 commit comments