Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -55,6 +55,11 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
build: {
|
build: {
|
||||||
cssMinify: 'esbuild',
|
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
|
//fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
|
|||||||
Reference in New Issue
Block a user