From 8e6b0b299d2ef50f2b85e67b7a1aa7fd2ac1bce1 Mon Sep 17 00:00:00 2001 From: Soybean <2570172956@qq.com> Date: Thu, 14 Oct 2021 14:27:18 +0800 Subject: [PATCH] =?UTF-8?q?perf(projects):=20=E6=B7=BB=E5=8A=A0windicss?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E7=9A=84=E6=89=AB=E6=8F=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=EF=BC=8C=E6=8F=90=E5=8D=87=E6=9E=84=E5=BB=BA=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windi.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windi.config.ts b/windi.config.ts index 1058c7fd..a464fd54 100644 --- a/windi.config.ts +++ b/windi.config.ts @@ -7,6 +7,10 @@ const { } = themeSettings; export default defineConfig({ + extract: { + include: ['src/**/*.{vue,html,jsx,tsx}', 'public/**/*.{html}', './*.html'], + exclude: ['node_modules', '.git'] + }, darkMode: 'class', // or 'media' shortcuts: { 'center-layout': 'w-1280px mx-auto px-15px',