Replies: 5 comments 40 replies
-
合并顺序:
越向下的越具体,优先级更高,高优的可以往下移动。 |
Beta Was this translation helpful? Give feedback.
-
这个从下往上的优先级 让umi3 直接转过来的有点难受 |
Beta Was this translation helpful? Give feedback.
-
给人一种.... 算了, 我目前的多环境配置 {
"script": {
"build": "cross-env UMI_ENV=prod max build",
"build:test": "cross-env UMI_ENV=test max build",
}
}
然后在 不要掉了中间的一个 |
Beta Was this translation helpful? Give feedback.
-
如果不想配置文件过多复杂化,可以在一个配置文件 |
Beta Was this translation helpful? Give feedback.
-
刚才试了下,从umi3升级到umi4.配置如下图,.local.ts在任何环境都会被执行,导致配置被覆盖无效, 在umi4文档中并没有相关说明,请问还支持这样写吗。
Beta Was this translation helpful? Give feedback.
All reactions