From b73ec1e0115d783127012d150d0adc0c6ca9e06e Mon Sep 17 00:00:00 2001 From: jserfeng <1114550440@qq.com> Date: Tue, 13 Aug 2024 15:23:49 +0800 Subject: [PATCH] docs: correct LightningCssMinimizerRspackPlugin link --- website/docs/en/config/optimization.mdx | 2 +- website/docs/zh/config/optimization.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/en/config/optimization.mdx b/website/docs/en/config/optimization.mdx index f60d61dff04..3678e1ac04f 100644 --- a/website/docs/en/config/optimization.mdx +++ b/website/docs/en/config/optimization.mdx @@ -58,7 +58,7 @@ to false will disable this optimization. /> Customize the minimizer. By default, [`rspack.SwcJsMinimizerRspackPlugin`](/plugins/rspack/swc-js-minimizer-rspack-plugin) -and [`rspack.LightningCssMinimizerRspackPlugin`](/plugins/rspack/swc-css-minimizer-rspack-plugin) are used. +and [`rspack.LightningCssMinimizerRspackPlugin`](/plugins/rspack/lightning-css-minimizer-rspack-plugin) are used. When `optimization.minimizer` is specified, the default minimizers will be disabled. ```js title=rspack.config.js diff --git a/website/docs/zh/config/optimization.mdx b/website/docs/zh/config/optimization.mdx index d3bcfd14968..83280fc9b07 100644 --- a/website/docs/zh/config/optimization.mdx +++ b/website/docs/zh/config/optimization.mdx @@ -58,7 +58,7 @@ import WebpackLicense from '@components/WebpackLicense'; /> 自定义压缩器。默认使用 [`rspack.SwcJsMinimizerRspackPlugin`](/plugins/rspack/swc-js-minimizer-rspack-plugin) -和 [`rspack.LightningCssMinimizerRspackPlugin`](/plugins/rspack/swc-css-minimizer-rspack-plugin)。当声明了 `optimization.minimizer`,默认压缩器会被禁用。 +和 [`rspack.LightningCssMinimizerRspackPlugin`](/plugins/rspack/lightning-css-minimizer-rspack-plugin)。当声明了 `optimization.minimizer`,默认压缩器会被禁用。 ```js title=rspack.config.js const terserPlugin = require('terser-webpack-plugin');