From 20eee94630dbece83e745e8dc1bc79d37126ce74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Fri, 28 Jul 2023 00:56:14 +0800 Subject: [PATCH] chore: update unocss config --- unocss.config.js | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/unocss.config.js b/unocss.config.js index 8d0b7b4..894157d 100644 --- a/unocss.config.js +++ b/unocss.config.js @@ -1,18 +1,11 @@ import { defineConfig, presetAttributify, presetUno } from 'unocss' export default defineConfig({ - exclude: [ - 'node_modules', - '.git', - '.github', - '.husky', - '.vscode', - 'build', - 'dist', - 'mock', - 'public', - './stats.html', - ], + content: { + pipeline: { + include: [/\.(vue|svelte|[jt]sx|mdx?|html)($|\?)/], + }, + }, presets: [presetUno(), presetAttributify()], shortcuts: [ ['wh-full', 'w-full h-full'],