perf(projects): 添加windicss指定的扫描目录,提升构建性能

This commit is contained in:
Soybean 2021-10-14 14:27:18 +08:00
parent ffe50143b7
commit 8e6b0b299d

View File

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