diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -101,8 +101,8 @@ async function prerender (parentCompilation, request, options, inject, loader) {
   };
 
   // Only copy over allowed plugins (excluding them breaks extraction entirely).
-  const allowedPlugins = ['MiniCssExtractPlugin', 'ExtractTextPlugin'];
-  const plugins = (parentCompiler.options.plugins || []).filter(c => allowedPlugins.includes(c.constructor.name));
+  const allowedPlugins = /(MiniCssExtractPlugin|ExtractTextPlugin)/i;
+  const plugins = (parentCompiler.options.plugins || []).filter(c => allowedPlugins.test(c.constructor.name));
 
   // Compile to an in-memory filesystem since we just want the resulting bundled code as a string
   const compiler = parentCompilation.createChildCompiler('prerender', outputOptions, plugins);
Switch to regex in case the casing was wrong