base-config-schema
Version:
Schema for the base-config plugin, used for normalizing config values before passing them to config.process().
11 lines (8 loc) • 375 B
JavaScript
;
exports.configError = function configError(app, name, prop) {
var appname = app._name + '.' + prop;
console.error('cannot resolve ' + appname + ', in package.json ' + appname + ' config');
};
exports.moduleError = function moduleError(app, type, name) {
return 'cannot find ' + app._name + ' ' + type + ' module ' + name + ' in local node_modules.';
};