@midwayjs/coreClassesMidwayEnvironmentService版本:Next本页总览MidwayEnvironmentService ImplementsIEnvironmentServiceIndex ConstructorsconstructorMethodsgetCurrentEnvironmentgetModuleLoadTypeisDevelopmentEnvironmentisPkgEnvironmentsetCurrentEnvironmentsetModuleLoadTypeConstructors constructornew MidwayEnvironmentService(): MidwayEnvironmentServiceMethods publicgetCurrentEnvironmentgetCurrentEnvironment(): stringpublicgetModuleLoadTypegetModuleLoadType(): ModuleLoadTypepublicisDevelopmentEnvironmentisDevelopmentEnvironment(): booleanpublicisPkgEnvironmentisPkgEnvironment(): booleanpublicsetCurrentEnvironmentsetCurrentEnvironment(environment: string): voidpublicsetModuleLoadTypesetModuleLoadType(moduleLoadType: ModuleLoadType): void