提交 04cf7582 编写于 作者: fxy060608's avatar fxy060608

chore: merge

上级 0397ac47
......@@ -7,6 +7,10 @@ export function withSourcemap(config: ResolvedConfig) {
return !!config.build.sourcemap
}
export function isInHybridNVue(config: UserConfig | ResolvedConfig): boolean {
return (config as any).nvue && process.env.UNI_RENDERER !== 'native'
}
export function isSsr(
command: ConfigEnv['command'],
config: UserConfig | ResolvedConfig
......
......@@ -12,7 +12,7 @@ var path__default = /*#__PURE__*/ _interopDefaultLegacy(path)
var debug__default = /*#__PURE__*/ _interopDefaultLegacy(debug)
const debugPush = debug__default['default']('uni:push')
var index = [
var index = () => [
uniCliShared.defineUniMainJsPlugin((opts) => {
let isEnable = false
let isOffline = false
......
......@@ -9,7 +9,7 @@ import {
} from '@dcloudio/uni-cli-shared'
const debugPush = debug('uni:push')
export default [
export default () => [
defineUniMainJsPlugin((opts) => {
let isEnable = false
let isOffline = false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册