UNPKG

flipper-common

Version:

Server & UI shared Flipper utilities

19 lines 705 B
"use strict"; /** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ Object.defineProperty(exports, "__esModule", { value: true }); exports.isProduction = void 0; // TODO: there are currently two definitions of isProduction active, // this one, and one provided by the RenderHostConfig. Ideally they should be unified function isProduction() { return (typeof process === 'undefined' || (process.env.NODE_ENV !== 'development' && process.env.NODE_ENV !== 'test')); } exports.isProduction = isProduction; //# sourceMappingURL=isProduction.js.map