Rspress builds documents based on Rsbuild.
Rsbuild provides a rich set of build configurations. You can customize these configurations through builderConfig. For example, change the output directory to doc_dist
:
You can learn more about the configuration options through Rsbuild - Config documentation.
You can configure Rspack through the tools.rspack option provided by Rsbuild:
The compilation of MDX in the framework is based on unified, and you can add related compilation plugins through markdown
configuration. for example
:
Only the JS version of the MDX compiler supports compilation plugins.