chore: update unocss config

This commit is contained in:
张传龙 2023-07-28 00:56:14 +08:00
parent c504ad065c
commit 20eee94630

View File

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