@fesjs/compiler
Version:
@fesjs/compiler
21 lines (20 loc) • 449 B
JavaScript
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);
}
;