You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
311 B

2 years ago
'use strict'
const Q = require('q')
const parserOpts = require('./parser-opts')
const writerOpts = require('./writer-opts')
module.exports = function (config) {
return Q.all([parserOpts(config), writerOpts(config)])
.spread((parserOpts, writerOpts) => {
return { parserOpts, writerOpts }
})
}