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