perf: optimize local startup speed and add header Class configuration to drawer (#4840)

This commit is contained in:
Vben
2024-11-09 11:12:30 +08:00
committed by GitHub
parent da7d61b160
commit 9cf0573921
7 changed files with 321 additions and 312 deletions

View File

@@ -62,6 +62,11 @@ export const shared = defineConfig({
postcssIsolateStyles({ includeFiles: [/vp-doc\.css/] }),
],
},
preprocessorOptions: {
scss: {
api: 'modern',
},
},
},
json: {
stringify: true,
@@ -97,6 +102,7 @@ export const shared = defineConfig({
host: true,
port: 6173,
},
ssr: {
external: ['@vue/repl'],
},