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' import { defineConfig, presetAttributify, presetUno } from 'unocss'
export default defineConfig({ export default defineConfig({
exclude: [ content: {
'node_modules', pipeline: {
'.git', include: [/\.(vue|svelte|[jt]sx|mdx?|html)($|\?)/],
'.github', },
'.husky', },
'.vscode',
'build',
'dist',
'mock',
'public',
'./stats.html',
],
presets: [presetUno(), presetAttributify()], presets: [presetUno(), presetAttributify()],
shortcuts: [ shortcuts: [
['wh-full', 'w-full h-full'], ['wh-full', 'w-full h-full'],