1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4  value: true
5});
6exports.withInternal = exports.EXPO_DEBUG = void 0;
7
8function _getenv() {
9  const data = require("getenv");
10
11  _getenv = function () {
12    return data;
13  };
14
15  return data;
16}
17
18const EXPO_DEBUG = (0, _getenv().boolish)('EXPO_DEBUG', false);
19/**
20 * Adds the _internal object.
21 *
22 * @param config
23 * @param projectRoot
24 */
25
26exports.EXPO_DEBUG = EXPO_DEBUG;
27
28const withInternal = (config, internals) => {
29  if (!config._internal) {
30    config._internal = {};
31  }
32
33  config._internal = {
34    isDebug: EXPO_DEBUG,
35    ...config._internal,
36    ...internals
37  };
38  return config;
39};
40
41exports.withInternal = withInternal;
42//# sourceMappingURL=withInternal.js.map