Skip to content

Commit 277dfbc

Browse files
committed
docs: specify override output.minify
1 parent 865fa6b commit 277dfbc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

website/docs/en/config/rsbuild/output.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@ export default defineConfig({
187187
});
188188
```
189189

190+
::: note
191+
192+
It should be noted that the `output.minify` option you configured will completely override the above default configuration.
193+
194+
:::
195+
190196
## output.overrideBrowserslist <RsbuildDocBadge path="/config/output/override-browserslist" text="output.overrideBrowserslist" />
191197

192198
Specifies the range of target browsers that the project is compatible with.

website/docs/zh/config/rsbuild/output.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ export default defineConfig({
179179
});
180180
```
181181

182+
::: note
183+
184+
需要注意的是,你配置的 `output.minify` 选项会完全覆盖上述默认配置。
185+
186+
:::
187+
182188
## output.overrideBrowserslist <RsbuildDocBadge path="/config/output/override-browserslist" text="output.overrideBrowserslist" />
183189

184190
指定项目兼容的目标浏览器范围。

0 commit comments

Comments
 (0)