perf(projects): 添加windicss指定的扫描目录,提升构建性能
This commit is contained in:
parent
ffe50143b7
commit
8e6b0b299d
@ -7,6 +7,10 @@ const {
|
||||
} = themeSettings;
|
||||
|
||||
export default defineConfig({
|
||||
extract: {
|
||||
include: ['src/**/*.{vue,html,jsx,tsx}', 'public/**/*.{html}', './*.html'],
|
||||
exclude: ['node_modules', '.git']
|
||||
},
|
||||
darkMode: 'class', // or 'media'
|
||||
shortcuts: {
|
||||
'center-layout': 'w-1280px mx-auto px-15px',
|
||||
|
Loading…
Reference in New Issue
Block a user