From 2145af4e3f61f5e7a63d2a8d84b06fb478052945 Mon Sep 17 00:00:00 2001 From: 9aoy <9aoyuao@gmail.com> Date: Wed, 7 Aug 2024 16:05:21 +0800 Subject: [PATCH] docs: list plugin compatible +5 (#7481) --- .../components/CommunityCompatibleTable.tsx | 28 +++++++++++++++++++ website/components/i18n/en.json | 5 +++- website/components/i18n/zh.json | 5 +++- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/website/components/CommunityCompatibleTable.tsx b/website/components/CommunityCompatibleTable.tsx index 0006cf69344..e688e813553 100644 --- a/website/components/CommunityCompatibleTable.tsx +++ b/website/components/CommunityCompatibleTable.tsx @@ -187,6 +187,34 @@ export const CommunityPluginCompatibleTable: React.FC = () => { url: 'https://www.npmjs.com/package/friendly-errors-webpack-plugin', status: CompatibleStatus.Compatible, }, + { + name: '@nx/webpack', + url: 'https://www.npmjs.com/package/@nx/webpack', + status: CompatibleStatus.Alternative, + description: i18n[lang]['@nx/webpack-desc'], + }, + { + name: 'webpack-filter-warnings-plugin', + url: 'https://github.com/mattlewis92/webpack-filter-warnings-plugin', + status: CompatibleStatus.NotCompatible, + description: i18n[lang]['webpack-filter-warnings-plugin-desc'], + }, + { + name: 'speed-measure-webpack-plugin', + url: 'https://www.npmjs.com/package/speed-measure-webpack-plugin', + status: CompatibleStatus.NotCompatible, + description: i18n[lang]['speed-measure-webpack-plugin-desc'], + }, + { + name: 'circular-dependency-plugin', + url: 'https://github.com/aackerman/circular-dependency-plugin', + status: CompatibleStatus.NotCompatible, + }, + { + name: 'error-overlay-webpack-plugin', + url: 'https://github.com/gregberge/error-overlay-webpack-plugin', + status: CompatibleStatus.Compatible, + }, { name: 'webpackbar', url: 'https://www.npmjs.com/package/webpackbar', diff --git a/website/components/i18n/en.json b/website/components/i18n/en.json index 46b321f585b..617a2bcf1a6 100644 --- a/website/components/i18n/en.json +++ b/website/components/i18n/en.json @@ -19,5 +19,8 @@ "webpack-virtual-modules-desc": "Use [rspack-plugin-virtual-module](https://github.com/rspack-contrib/rspack-plugins/tree/main/packages/plugin-virtual-module) instead", "webpack-manifest-plugin-desc": "Use [rspack-manifest-plugin](https://github.com/rspack-contrib/rspack-manifest-plugin) instead", "workbox-webpack-plugin-desc": "Use [@aaroon/workbox-rspack-plugin](https://github.com/Clarkkkk/workbox-rspack-plugin) instead", - "react-refresh-webpack-plugin-desc": "Use [@rspack/plugin-react-refresh](/guide/tech/react#rspackplugin-react-refresh) instead" + "react-refresh-webpack-plugin-desc": "Use [@rspack/plugin-react-refresh](/guide/tech/react#rspackplugin-react-refresh) instead", + "@nx/webpack-desc": "Use [@nx/rspack](https://www.npmjs.com/package/@nx/rspack) instead", + "webpack-filter-warnings-plugin-desc": "Use [ignoreWarnings](/config/other-options#ignorewarnings) instead", + "speed-measure-webpack-plugin-desc": "Use [Rsdoctor](/guide/optimization/use-rsdoctor) instead" } diff --git a/website/components/i18n/zh.json b/website/components/i18n/zh.json index 44209bdd468..09fe072ba69 100644 --- a/website/components/i18n/zh.json +++ b/website/components/i18n/zh.json @@ -19,5 +19,8 @@ "webpack-virtual-modules-desc": "使用 [rspack-plugin-virtual-module](https://github.com/rspack-contrib/rspack-plugins/tree/main/packages/plugin-virtual-module) 替代", "webpack-manifest-plugin-desc": "使用 [rspack-manifest-plugin](https://github.com/rspack-contrib/rspack-manifest-plugin) 替代", "workbox-webpack-plugin-desc": "使用 [@aaroon/workbox-rspack-plugin](https://github.com/Clarkkkk/workbox-rspack-plugin) 替代", - "react-refresh-webpack-plugin-desc": "使用 [@rspack/plugin-react-refresh](/guide/tech/react#rspackplugin-react-refresh) 替代" + "react-refresh-webpack-plugin-desc": "使用 [@rspack/plugin-react-refresh](/guide/tech/react#rspackplugin-react-refresh) 替代", + "@nx/webpack-desc": "使用 [@nx/rspack](https://www.npmjs.com/package/@nx/rspack) 替代", + "webpack-filter-warnings-plugin-desc": "使用 [ignoreWarnings](/config/other-options#ignorewarnings) 替代", + "speed-measure-webpack-plugin-desc": "使用 [Rsdoctor](/guide/optimization/use-rsdoctor) 替代" }