This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

18 lines
544 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const getenv_1 = require("getenv");
exports.EXPO_DEBUG = getenv_1.boolish('EXPO_DEBUG', false);
/**
* Adds the _internal object.
*
* @param config
* @param projectRoot
*/
exports.withInternal = (config, internals) => {
if (!config._internal) {
config._internal = {};
}
config._internal = Object.assign(Object.assign({ isDebug: exports.EXPO_DEBUG }, config._internal), internals);
return config;
};
//# sourceMappingURL=withInternal.js.map