UNPKG

@fesjs/compiler

Version:
21 lines (20 loc) 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getUserConfigWithKey = getUserConfigWithKey; exports.updateUserConfigWithKey = updateUserConfigWithKey; var _utils = require("@fesjs/utils"); function updateUserConfigWithKey({ key, value, userConfig }) { _utils.lodash.set(userConfig, key, value); } function getUserConfigWithKey({ key, userConfig }) { return _utils.lodash.get(userConfig, key); }