packages/okam-build/lib/processor/js/transform/visitor.js
function getTransformOptions(options, state) {
    let transformOpts = Object.assign({}, options, state.opts);
    transformOpts.baseId = options.extensionName
        ? getFrameworkExtendId(transformOpts.appType, options.extensionName, true)
        : getBaseId(transformOpts.appType, transformOpts.baseName);
    return transformOpts;
}
function getTransformOptions(options, state) {
    let transformOpts = Object.assign({}, options, state.opts);
    transformOpts.baseId = options.extensionName
        ? getFrameworkExtendId(transformOpts.appType, options.extensionName, true)
        : getBaseId(transformOpts.appType, transformOpts.baseName);
    return transformOpts;
}
function getTransformOptions ( options , state ) { let transformOpts = Object . assign ( { } , options , state . opts ) ; transformOpts . baseId = options . extensionName ? getFrameworkExtendId ( transformOpts . appType , options . extensionName , true ) : getBaseId ( transformOpts . appType , transformOpts . baseName ) ; return transformOpts ; }
Get transform options

@inner
@param {Object} options the transformation type options
@param {Object} state the transformation plugin state
@return {Object}
Get transform options