提交 f4a7d0b9 编写于 作者: D DCloud_LXH

chore(app): uniConfig

上级 e1fab42d
import path from 'path'
import { initLocales } from '../../../i18n'
import { normalizeNetworkTimeout } from '../../manifest'
import {
normalizeNetworkTimeout,
getPlatformManifestJsonOnce,
} from '../../manifest'
import {
getNVueCompiler,
getNVueFlexDirection,
......@@ -47,10 +50,7 @@ export function normalizeAppUniConfig(
manifestJson: Record<string, any>
) {
const { autoclose, alwaysShowBeforeRender } = getSplashscreen(manifestJson)
const platformConfig =
manifestJson[
process.env.UNI_PLATFORM === 'app' ? 'app-plus' : process.env.UNI_PLATFORM
] || {}
const platformConfig = getPlatformManifestJsonOnce()
const config: AppUniConfig = {
pages: [],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册