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 11a96b6 commit fe35279Copy full SHA for fe35279
src/index.js
@@ -113,7 +113,6 @@ class MiniCssExtractPlugin {
113
this.options = Object.assign(
114
{
115
filename: '[name].css',
116
- useRelPreload: false,
117
},
118
options
119
);
@@ -325,9 +324,8 @@ class MiniCssExtractPlugin {
325
324
}
326
327
328
- const supportsPreload = this.options.useRelPreload
329
- ? '(function() { try { return document.createElement("link").relList.supports("preload"); } catch(e) { return false; }}());'
330
- : 'false;';
+ const supportsPreload =
+ '(function() { try { return document.createElement("link").relList.supports("preload"); } catch(e) { return false; }}());';
331
return Template.asString([
332
source,
333
'',
0 commit comments