diff --git a/website/docs/en/guide/compatibility/_meta.json b/website/docs/en/guide/compatibility/_meta.json index 224dd5ed944..639dc6ea346 100644 --- a/website/docs/en/guide/compatibility/_meta.json +++ b/website/docs/en/guide/compatibility/_meta.json @@ -1 +1 @@ -["plugin", "examples", "config-diff"] +["plugin", "config-diff"] diff --git a/website/docs/en/guide/compatibility/examples.mdx b/website/docs/en/guide/compatibility/examples.mdx deleted file mode 100644 index 87d366d5cd1..00000000000 --- a/website/docs/en/guide/compatibility/examples.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import { CompatibleCardList } from '@components/RspackCompatible.tsx'; - -# Compatibility example - -This page shows examples of [rspack-compat](https://github.com/web-infra-dev/rspack-compat/tree/main). This repository is intended to represent rspack's compatibility with the webpack ecosystem, and you can click on each plugin link to see its supported usage. - - diff --git a/website/docs/en/guide/compatibility/plugin.mdx b/website/docs/en/guide/compatibility/plugin.mdx index f0c21e2dc4e..d7ff15de2b9 100644 --- a/website/docs/en/guide/compatibility/plugin.mdx +++ b/website/docs/en/guide/compatibility/plugin.mdx @@ -10,4 +10,6 @@ Note that the table only lists some common community plugins. For plugins that a +You can view examples of common plugins at [rspack-examples](https://github.com/rspack-contrib/rspack-examples). + Additionally, you can check out the community Rspack plugins at [awesome-rspack](https://github.com/web-infra-dev/awesome-rspack). diff --git a/website/docs/zh/guide/compatibility/_meta.json b/website/docs/zh/guide/compatibility/_meta.json index 224dd5ed944..639dc6ea346 100644 --- a/website/docs/zh/guide/compatibility/_meta.json +++ b/website/docs/zh/guide/compatibility/_meta.json @@ -1 +1 @@ -["plugin", "examples", "config-diff"] +["plugin", "config-diff"] diff --git a/website/docs/zh/guide/compatibility/examples.mdx b/website/docs/zh/guide/compatibility/examples.mdx deleted file mode 100644 index 59b9acbfc17..00000000000 --- a/website/docs/zh/guide/compatibility/examples.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import { CompatibleCardList } from '@components/RspackCompatible.tsx'; - -# 兼容性示例 - -此页面展示了 [rspack-compat](https://github.com/web-infra-dev/rspack-compat/tree/main) 的示例。这个仓库旨在体现 Rspack 对 webpack 生态的兼容性,你可以点击每个插件链接,查看其支持的用法。 - - diff --git a/website/docs/zh/guide/compatibility/plugin.mdx b/website/docs/zh/guide/compatibility/plugin.mdx index 4f21fdf71b7..18cfe070e43 100644 --- a/website/docs/zh/guide/compatibility/plugin.mdx +++ b/website/docs/zh/guide/compatibility/plugin.mdx @@ -10,4 +10,6 @@ Rspack 对 webpack 内置插件的支持情况可以参考 [Webpack 内置插件 +你可以在 [rspack-examples](https://github.com/rspack-contrib/rspack-examples) 中查看常用插件的使用示例。 + 此外,你可以在 [awesome-rspack](https://github.com/web-infra-dev/awesome-rspack) 中查看社区提供的 Rspack 插件。