From cbf3056dc2f32f201ccbf65e536594048570991e Mon Sep 17 00:00:00 2001 From: Tanishq Khandelwal <102526387+tanishq-khandelwal@users.noreply.github.com> Date: Tue, 7 Jul 2026 12:37:22 +0530 Subject: [PATCH] Revise experimental feature documentation for clarity Updated the documentation to reflect changes in the experimental feature and its configuration. the old link is broken https://module-federation.io/guide/performance/shared-tree-shaking --- website/docs/en/blog/announcing-2-0.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/en/blog/announcing-2-0.mdx b/website/docs/en/blog/announcing-2-0.mdx index 54872ae0fe68..a867faf0c89b 100644 --- a/website/docs/en/blog/announcing-2-0.mdx +++ b/website/docs/en/blog/announcing-2-0.mdx @@ -154,7 +154,7 @@ import { join } from './utils'; join('btn', 'primary'); ``` -> This feature is still experimental and currently requires [`experiments.pureFunctions`](/config/experiments#experimentspurefunctions) to be enabled. It will be enabled by default in a future version. See the [guide](/guide/optimization/tree-shaking#no_side_effects-annotation) for details. +> This feature is still experimental and currently requires [`experiments.pureFunctions`](/config/experiments#experimentspurefunctions) to be enabled. It will be enabled by default in a future version. See the [guide](/guide/advanced/shared-tree-shaking#shared-tree-shaking) for details. For third-party modules whose source code you cannot modify directly, Rspack also lets you manually declare pure functions through [`module.parser.javascript.pureFunctions`](/config/module-parser#javascriptpurefunctions) to achieve the same effect.