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 bed1799 commit e2aca02Copy full SHA for e2aca02
src/index.js
@@ -786,7 +786,7 @@ class MiniCssExtractPlugin {
786
compilation.runtimeTemplate.requestShortener,
787
);
788
789
- if (modules) {
+ if (modules?.size > 0) {
790
const { hashFunction, hashDigest, hashDigestLength } = outputOptions;
791
const { createHash } = compiler.webpack.util;
792
const hash = createHash(/** @type {string} */ (hashFunction));
0 commit comments