样式兼容方案
site-dist-deploy / build-and-deploy (push) Successful in 1m17s

This commit is contained in:
2026-04-28 06:24:56 +03:00
parent 90699d7fe1
commit d025ab2d33
7 changed files with 553 additions and 31 deletions
+7
View File
@@ -14,7 +14,14 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
css: {
transformer: 'lightningcss',
},
build: {
cssMinify: 'lightningcss',
},
server: {
proxy: {
// 将所有以 /api 开头的请求转发到目标服务器
// 1. 匹配所有以 /public 开头的请求