libs/plugins/scully-plugin-local-cache/src/lib/config.js
/**
 * Update the global config, takes a config object as param
 * wil use above global, and merge in the pluginConfig and the param.
 * Param takes precedence
 * @param configUpdate
 */
Update the global config, takes a config object as param
wil use above global, and merge in the pluginConfig and the param.
Param takes precedence
@param configUpdate
Update the global config takes a config object as param wil use above global and merge in the pluginConfig and the param . Param takes precedence @param configUpdate
function updateConfig(configUpdate) {
    const userConfig = Object.assign(Object.assign(Object.assign({}, config), getMyConfig(localCache)), configUpdate);
    Object.entries(userConfig).forEach(([key, val]) => (config[key] = val));
}
function updateConfig ( configUpdate ) { const userConfig = Object . assign ( Object . assign ( Object . assign ( { } , config ) , getMyConfig ( localCache ) ) , configUpdate ) ; Object . entries ( userConfig ) . forEach ( ( [ key , val ] ) => ( config [ key ] = val ) ) ; }
Update the global config, takes a config object as param
 wil use above global, and merge in the pluginConfig and the param.
Update the global config takes a config object as param wil use above global and merge in the pluginConfig and the param .
/** merge in user settings */