@honor-claw/yoyo 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -306,7 +306,7 @@ export class ConfigManager {
|
|
|
306
306
|
// 处理 env 默认值(仅在未设置时设置)
|
|
307
307
|
const currentEnv =
|
|
308
308
|
currentConfig.plugins?.entries?.[pluginId]?.config?.env;
|
|
309
|
-
const shouldSetEnv = !currentEnv;
|
|
309
|
+
const shouldSetEnv = !isBetaVersion() || !currentEnv;
|
|
310
310
|
const defaultEnv = isBetaVersion() ? "test" : "production";
|
|
311
311
|
|
|
312
312
|
// 构建插件配置
|