UNPKG

base-config-process

Version:

Commonly used config mappings for the base-config plugin. Also pre-processes the given object with base-config-schema before calling `.process()`

11 lines (8 loc) 173 B
'use strict'; var debug = require('../debug'); module.exports = function(app) { return function(val, key, config, next) { debug.field(key, val); next(); }; };