From dcaaa0fcfe84f7ccbd908af94db58df294fe5b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=B0=B8=E5=AE=89?= Date: Fri, 19 Nov 2021 00:05:13 +0800 Subject: [PATCH] docs: add tip Note for build.cssCodeSplit (#5739) Co-authored-by: Shinigami --- docs/config/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/config/index.md b/docs/config/index.md index f89581fc922932..79d282fb51a0a3 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -688,6 +688,10 @@ export default defineConfig({ If disabled, all CSS in the entire project will be extracted into a single CSS file. + ::: tip Note + If you specify `build.lib`, `build.cssCodeSplit` will be `false` as default. + ::: + ### build.cssTarget - **Type:** `string | string[]`