Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
2026-06-03 15:44:09 +08:00

View File

@@ -55,6 +55,11 @@ export default defineConfig(({ mode, command }) => {
build: {
cssMinify: 'esbuild',
},
optimizeDeps: {
// 排除 xe-utils 预打包,以便 patchDepsPlugin 能拦截并修补 hasOwnProp
// (Vue 3 Proxy 对象上调用 obj.hasOwnProperty(key) 会失败)
exclude: ['xe-utils'],
},
//fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
css: {
preprocessorOptions: {