Skip to content

Commit 78378e4

Browse files
committed
fix: exclude option is deprecated
1 parent dd87466 commit 78378e4

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

uno.config.js

+16-12
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,22 @@
22
import { defineConfig, presetAttributify, presetUno } from 'unocss'
33

44
export default defineConfig({
5-
exclude: [
6-
'node_modules',
7-
'.git',
8-
'.github',
9-
'.husky',
10-
'.vscode',
11-
'build',
12-
'dist',
13-
'mock',
14-
'public',
15-
'./stats.html',
16-
],
5+
content: {
6+
pipeline: {
7+
exclude: [
8+
'node_modules',
9+
'.git',
10+
'.github',
11+
'.husky',
12+
'.vscode',
13+
'build',
14+
'dist',
15+
'mock',
16+
'public',
17+
'./stats.html',
18+
],
19+
},
20+
},
1721
presets: [presetUno(), presetAttributify()],
1822
theme: {
1923
colors: {

0 commit comments

Comments
 (0)