src/publish.js
function resolveInputFile(args) {
    const { file } = args;
    return file ? resolve(path.resolve(file)) : build(args);
}
function resolveInputFile(args) {
    const { file } = args;
    return file ? resolve(path.resolve(file)) : build(args);
}
function resolveInputFile ( args ) { const { file } = args ; return file ? resolve ( path . resolve ( file ) ) : build ( args ) ; }
Builds or uses the passed file to publication

@param {Object} args
@return {Promise}
Builds or uses the passed file to publication