| 1 | /**
|
| 2 | * react-router v8.0.0
|
| 3 | *
|
| 4 | * Copyright (c) Remix Software Inc.
|
| 5 | *
|
| 6 | * This source code is licensed under the MIT license found in the
|
| 7 | * LICENSE.md file in the root directory of this source tree.
|
| 8 | *
|
| 9 | * @license MIT
|
| 10 | */
|
| 11 | //#region lib/server-runtime/mode.ts
|
| 12 | /**
|
| 13 | * The mode to use when running the server.
|
| 14 | */
|
| 15 | let ServerMode = /* @__PURE__ */ function(ServerMode) {
|
| 16 | ServerMode["Development"] = "development";
|
| 17 | ServerMode["Production"] = "production";
|
| 18 | ServerMode["Test"] = "test";
|
| 19 | return ServerMode;
|
| 20 | }({});
|
| 21 | function isServerMode(value) {
|
| 22 | return value === "development" || value === "production" || value === "test";
|
| 23 | }
|
| 24 | //#endregion
|
| 25 | export { ServerMode, isServerMode };
|