Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/en/blog/announcing-2-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down