Added some defaults to the config parsers
This commit is contained in:
parent
549b5b0514
commit
c218426604
2 changed files with 3 additions and 3 deletions
|
@ -209,7 +209,7 @@ exports.parse = (config = {}, points = {}) => {
|
|||
|
||||
const outlines = {}
|
||||
|
||||
const ex = a.sane(config.exports, 'outlines.exports', 'object')
|
||||
const ex = a.sane(config.exports || {}, 'outlines.exports', 'object')
|
||||
for (let [key, parts] of Object.entries(ex)) {
|
||||
parts = a.inherit('outlines.exports', key, ex)
|
||||
let result = {models: {}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue