-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Expand file tree
/
Copy pathuno.config.ts
More file actions
27 lines (26 loc) · 825 Bytes
/
uno.config.ts
File metadata and controls
27 lines (26 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig, UserConfig, presetTypography, presetIcons, transformerDirectives } from 'unocss';
import { FileSystemIconLoader } from '@iconify/utils/lib/loader/node-loaders';
import { presetWind3 } from '@unocss/preset-wind3';
export default defineConfig({
inspector: false,
content: {
pipeline: {
include: ['**/*.vue', '**/*.tsx', '**/*.ts', '**/*-lib/**/*.mjs'],
exclude: ['.git', '.idea', '.turbo', 'node_modules', 'public'],
},
},
presets: [
presetWind3(),
presetTypography(),
presetIcons({
extraProperties: {
display: 'inline-block',
'vertical-align': 'middle',
},
collections: {
svg: FileSystemIconLoader(__dirname + '/packages/assets/icons'),
},
}),
],
transformers: [transformerDirectives()],
} as UserConfig);