feat(config): unify startup mode and server selection
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { STARTUP_CONFIG } from '../../YouleNexus/assets/framework/config/profiles.ts';
|
||||
import { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { HttpConfigFetcher } from '../../YouleNexus/assets/framework/config/remote-config-fetcher.ts';
|
||||
@@ -26,7 +27,7 @@ test('resolveRuntimeConfig:把 cacheBust 注入唯一的 HTTP 请求构造点'
|
||||
});
|
||||
|
||||
await resolveRuntimeConfig({
|
||||
mode: 'release',
|
||||
startupConfig: {...STARTUP_CONFIG,mode:'release',useLocalServer:false},
|
||||
hostKind: 'h5',
|
||||
win: {},
|
||||
search: '?agentid=A&channelid=C',
|
||||
|
||||
Reference in New Issue
Block a user