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 54f775d commit 4e4a95dCopy full SHA for 4e4a95d
src/index.js
@@ -795,7 +795,7 @@ class MiniCssExtractPlugin {
795
compilation.runtimeTemplate.requestShortener,
796
);
797
798
- if (modules) {
+ if (modules.size > 0) {
799
const { hashFunction, hashDigest, hashDigestLength } = outputOptions;
800
const { createHash } = compiler.webpack.util;
801
const hash = createHash(/** @type {string} */ (hashFunction));
0 commit comments