Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 20f4e6e

Browse files
authored
Suppress css order warnings
1 parent 392c4ae commit 20f4e6e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/index.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -531,16 +531,16 @@ class MiniCssExtractPlugin {
531531
// and emit a warning
532532
const fallbackModule = bestMatch.pop();
533533

534-
compilation.warnings.push(
535-
new Error(
536-
`chunk ${chunk.name || chunk.id} [${pluginName}]\n` +
537-
'Conflicting order between:\n' +
538-
` * ${fallbackModule.readableIdentifier(requestShortener)}\n` +
539-
`${bestMatchDeps
540-
.map((m) => ` * ${m.readableIdentifier(requestShortener)}`)
541-
.join('\n')}`
542-
)
543-
);
534+
// compilation.warnings.push(
535+
// new Error(
536+
// `chunk ${chunk.name || chunk.id} [${pluginName}]\n` +
537+
// 'Conflicting order between:\n' +
538+
// ` * ${fallbackModule.readableIdentifier(requestShortener)}\n` +
539+
// `${bestMatchDeps
540+
// .map((m) => ` * ${m.readableIdentifier(requestShortener)}`)
541+
// .join('\n')}`
542+
// )
543+
// );
544544

545545
usedModules.add(fallbackModule);
546546
}

0 commit comments

Comments
 (0)