diff --git a/packages/rspack/src/rspackOptionsApply.ts b/packages/rspack/src/rspackOptionsApply.ts index f7360220320..4dd476226fd 100644 --- a/packages/rspack/src/rspackOptionsApply.ts +++ b/packages/rspack/src/rspackOptionsApply.ts @@ -65,6 +65,7 @@ import { SizeLimitsPlugin, SourceMapDevToolPlugin, SplitChunksPlugin, + WarnCaseSensitiveModulesPlugin, WorkerPlugin } from "./builtin-plugin"; import EntryOptionPlugin from "./lib/EntryOptionPlugin"; @@ -373,6 +374,8 @@ export class RspackOptionsApply { new SizeLimitsPlugin(options.performance).apply(compiler); } + new WarnCaseSensitiveModulesPlugin().apply(compiler); + if (options.cache) { new MemoryCachePlugin().apply(compiler); }