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'],