@midwayjs/coreClassesMidwayEnvironmentServiceVersion: NextSur cette pageMidwayEnvironmentService ImplementsIEnvironmentServiceIndex ConstructorsconstructorMethodsgetCurrentEnvironmentgetModuleLoadTypeisDevelopmentEnvironmentisPkgEnvironmentsetCurrentEnvironmentsetModuleLoadTypeConstructors constructornew MidwayEnvironmentService(): MidwayEnvironmentServiceMethods publicgetCurrentEnvironmentgetCurrentEnvironment(): stringpublicgetModuleLoadTypegetModuleLoadType(): ModuleLoadTypepublicisDevelopmentEnvironmentisDevelopmentEnvironment(): booleanpublicisPkgEnvironmentisPkgEnvironment(): booleanpublicsetCurrentEnvironmentsetCurrentEnvironment(environment: string): voidpublicsetModuleLoadTypesetModuleLoadType(moduleLoadType: ModuleLoadType): void