From c323be2378a8914476e625382e45a5c4d840a9fe Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Tue, 19 Nov 2024 16:55:06 +0800 Subject: [PATCH 1/2] feat: webpack-filter-warnings-plugin --- website/components/CommunityCompatibleTable.tsx | 3 +-- website/components/i18n/en.json | 3 +-- website/components/i18n/zh.json | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/website/components/CommunityCompatibleTable.tsx b/website/components/CommunityCompatibleTable.tsx index 360a7afbd8e..c15f7fd8d58 100644 --- a/website/components/CommunityCompatibleTable.tsx +++ b/website/components/CommunityCompatibleTable.tsx @@ -197,8 +197,7 @@ export const CommunityPluginCompatibleTable: React.FC = () => { { 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'], + status: CompatibleStatus.Compatible, }, { name: 'speed-measure-webpack-plugin', diff --git a/website/components/i18n/en.json b/website/components/i18n/en.json index 45106df6df7..eef6a01508d 100644 --- a/website/components/i18n/en.json +++ b/website/components/i18n/en.json @@ -21,11 +21,10 @@ "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", "@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", "eslint-webpack-plugin-desc": "Use [eslint-rspack-plugin](https://github.com/rspack-contrib/eslint-rspack-plugin) instead", "circular-dependency-plugin-desc": "Use Eslint [import/no-cycle](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-cycle.md) rule instead", "html-webpack-tags-plugin-desc": "Use [html-rspack-tags-plugin](https://github.com/rspack-contrib/html-rspack-tags-plugin) instead", "needs-html-webpack-plugin": "This plugin depends on html-webpack-plugin", "webpack-assets-manifest-desc": "Only supports basic usage" -} +} \ No newline at end of file diff --git a/website/components/i18n/zh.json b/website/components/i18n/zh.json index 047a727ccab..b98c01038dd 100644 --- a/website/components/i18n/zh.json +++ b/website/components/i18n/zh.json @@ -21,11 +21,10 @@ "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) 替代", "@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) 替代", "eslint-webpack-plugin-desc": "使用 [eslint-rspack-plugin](https://github.com/rspack-contrib/eslint-rspack-plugin) 替代", "circular-dependency-plugin-desc": "使用 Eslint [import/no-cycle](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-cycle.md) 规则替代", "html-webpack-tags-plugin-desc": "使用 [html-rspack-tags-plugin](https://github.com/rspack-contrib/html-rspack-tags-plugin) 替代", "needs-html-webpack-plugin": "该插件依赖了 html-webpack-plugin", "webpack-assets-manifest-desc": "仅支持基础用法" -} +} \ No newline at end of file From f482927b00cbb27313610b0771c8cb1d583325ce Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Tue, 19 Nov 2024 19:05:46 +0800 Subject: [PATCH 2/2] feat: support webpackbar --- website/components/CommunityCompatibleTable.tsx | 3 +-- website/components/i18n/en.json | 2 +- website/components/i18n/zh.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/website/components/CommunityCompatibleTable.tsx b/website/components/CommunityCompatibleTable.tsx index c15f7fd8d58..5e321e2c5c2 100644 --- a/website/components/CommunityCompatibleTable.tsx +++ b/website/components/CommunityCompatibleTable.tsx @@ -235,8 +235,7 @@ export const CommunityPluginCompatibleTable: React.FC = () => { { name: 'webpackbar', url: 'https://www.npmjs.com/package/webpackbar', - status: CompatibleStatus.NotCompatible, - description: i18n[lang]['progress-plugin-desc'], + status: CompatibleStatus.Compatible, }, { name: 'progress-bar-webpack-plugin', diff --git a/website/components/i18n/en.json b/website/components/i18n/en.json index eef6a01508d..7e023275264 100644 --- a/website/components/i18n/en.json +++ b/website/components/i18n/en.json @@ -27,4 +27,4 @@ "html-webpack-tags-plugin-desc": "Use [html-rspack-tags-plugin](https://github.com/rspack-contrib/html-rspack-tags-plugin) instead", "needs-html-webpack-plugin": "This plugin depends on html-webpack-plugin", "webpack-assets-manifest-desc": "Only supports basic usage" -} \ No newline at end of file +} diff --git a/website/components/i18n/zh.json b/website/components/i18n/zh.json index b98c01038dd..df870cbc02c 100644 --- a/website/components/i18n/zh.json +++ b/website/components/i18n/zh.json @@ -27,4 +27,4 @@ "html-webpack-tags-plugin-desc": "使用 [html-rspack-tags-plugin](https://github.com/rspack-contrib/html-rspack-tags-plugin) 替代", "needs-html-webpack-plugin": "该插件依赖了 html-webpack-plugin", "webpack-assets-manifest-desc": "仅支持基础用法" -} \ No newline at end of file +}