跳到主要内容
版本:Next

MidwayEnvironmentService

Implements

Index

Constructors

constructor

Methods

publicgetCurrentEnvironment

  • getCurrentEnvironment(): string

publicgetModuleLoadType

publicisDevelopmentEnvironment

  • isDevelopmentEnvironment(): boolean

publicisPkgEnvironment

  • isPkgEnvironment(): boolean

publicsetCurrentEnvironment

  • setCurrentEnvironment(environment: string): void

publicsetModuleLoadType