This commit is contained in:
zhang zhuo 2025-06-19 18:12:37 +08:00
parent 413328b38c
commit b30829489e
1 changed files with 8 additions and 1 deletions

View File

@ -16,6 +16,13 @@ export default defineConfig(({mode, command}) => {
rewrite: (p) => p.replace(/^\/api/, '')// 正则删除 "/api"
}
}
}
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
},
}
});