diff --git a/src/index.js b/src/index.js index 49d458ff..d21a009c 100644 --- a/src/index.js +++ b/src/index.js @@ -461,6 +461,9 @@ class MiniCssExtractPlugin { } if (!success) { + if (!bestMatch) { + break; + } // no module found => there is a conflict // use list with fewest failed deps // and emit a warning