diff --git a/packages/rspack/etc/core.api.md b/packages/rspack/etc/core.api.md
index e2ff6327f339..8cefb012d13b 100644
--- a/packages/rspack/etc/core.api.md
+++ b/packages/rspack/etc/core.api.md
@@ -667,7 +667,7 @@ interface CallExpression extends ExpressionBase {
type CallFn = (...args: any[]) => any;
// @public (undocumented)
-const CaseSensitivePlugin: {
+export const CaseSensitivePlugin: {
new (): {
name: string;
_args: [];
@@ -676,8 +676,6 @@ const CaseSensitivePlugin: {
apply(compiler: Compiler): void;
};
};
-export { CaseSensitivePlugin }
-export { CaseSensitivePlugin as WarnCaseSensitiveModulesPlugin }
// @public (undocumented)
interface CatchClause extends Node_4, HasSpan {
@@ -6579,7 +6577,6 @@ declare namespace rspackExports {
ProvidePluginOptions,
BannerPlugin,
CaseSensitivePlugin,
- CaseSensitivePlugin as WarnCaseSensitiveModulesPlugin,
DefinePlugin,
DynamicEntryPlugin,
EntryPlugin,
diff --git a/packages/rspack/scripts/check-documentation-coverage.ts b/packages/rspack/scripts/check-documentation-coverage.ts
index f6918ef7aba2..6f64f9098b71 100644
--- a/packages/rspack/scripts/check-documentation-coverage.ts
+++ b/packages/rspack/scripts/check-documentation-coverage.ts
@@ -112,7 +112,6 @@ function checkPluginsDocumentationCoverage() {
'RsdoctorPlugin', // This plugin is not stable yet
'RstestPlugin', // This plugin is not stable yet
'RslibPlugin', // This plugin is not stable yet
- 'WarnCaseSensitiveModulesPlugin', // This plugin is deprecated and will be replaced with CaseSensitivePlugin
];
const undocumentedPlugins = Array.from(implementedPlugins).filter(
diff --git a/packages/rspack/src/exports.ts b/packages/rspack/src/exports.ts
index b48508213551..dcadde1c69fd 100644
--- a/packages/rspack/src/exports.ts
+++ b/packages/rspack/src/exports.ts
@@ -106,10 +106,6 @@ export type {
export {
BannerPlugin,
CaseSensitivePlugin,
- /**
- * @deprecated Use `rspack.CaseSensitivePlugin` instead
- */
- CaseSensitivePlugin as WarnCaseSensitiveModulesPlugin,
DefinePlugin,
DynamicEntryPlugin,
EntryPlugin,
diff --git a/tests/rspack-test/errorCases/error-case-sensitive.js b/tests/rspack-test/errorCases/error-case-sensitive.js
index 3a114acfc2b3..be5982c77022 100644
--- a/tests/rspack-test/errorCases/error-case-sensitive.js
+++ b/tests/rspack-test/errorCases/error-case-sensitive.js
@@ -1,6 +1,6 @@
const fs = require("fs");
const path = require("path");
-const { WarnCaseSensitiveModulesPlugin } = require("@rspack/core");
+const { CaseSensitivePlugin } = require("@rspack/core");
const isCaseInsensitiveFilesystem = fs.existsSync(
path.resolve(__dirname, "../fixtures", "errors", "FILE.js")
@@ -13,7 +13,7 @@ module.exports = isCaseInsensitiveFilesystem
return {
mode: "development",
entry: "./case-sensitive",
- plugins: [new WarnCaseSensitiveModulesPlugin()]
+ plugins: [new CaseSensitivePlugin()]
};
},
async check(diagnostics) {
diff --git a/website/docs/en/plugins/webpack/case-sensitive-plugin.mdx b/website/docs/en/plugins/webpack/case-sensitive-plugin.mdx
index a26c7bae66db..ce49d51279ea 100644
--- a/website/docs/en/plugins/webpack/case-sensitive-plugin.mdx
+++ b/website/docs/en/plugins/webpack/case-sensitive-plugin.mdx
@@ -4,10 +4,6 @@ import { ApiMeta } from '@components/ApiMeta.tsx';
-:::tip
-This plugin was renamed to `CaseSensitivePlugin` in v1.7.0. `WarnCaseSensitiveModulesPlugin` is deprecated and will be removed in a future release.
-:::
-
Detect case sensitivity conflicts in referenced module names and emit warnings.
Different operating systems may handle case sensitivity in file systems differently. When code references module names that differ only in case, this can lead to unexpected errors during cross-platform compilation. This plugin helps to avoid such situations.
diff --git a/website/docs/zh/plugins/webpack/case-sensitive-plugin.mdx b/website/docs/zh/plugins/webpack/case-sensitive-plugin.mdx
index f327a2ee15e6..b44ec76e2691 100644
--- a/website/docs/zh/plugins/webpack/case-sensitive-plugin.mdx
+++ b/website/docs/zh/plugins/webpack/case-sensitive-plugin.mdx
@@ -4,10 +4,6 @@ import { ApiMeta } from '@components/ApiMeta.tsx';
-:::tip
-该插件在 v1.7.0 中更名为 `CaseSensitivePlugin`。`WarnCaseSensitiveModulesPlugin` 已被废弃,并将在未来的版本中移除。
-:::
-
检测引用的模块名称的大小写冲突,并发出警告。
在不同操作系统中,文件系统对大小写的处理方式可能不同。当代码中引用仅大小写不同的模块名称时,可能会导致跨系统编译时出现意外的错误,这个插件用于预防这种情况。