packages/build-plugin-rax-component/src/build.js
/**
 * Add miniapp target param to match jsx2mp-loader config
 * */
Add miniapp target param to match jsx2mp-loader config
Add miniapp target param to match jsx2mp - loader config
function addMiniappTargetParam(target, originalConfig = {}) {
  switch (target) {
    case WECHAT_MINIPROGRAM:
      originalConfig.platform = 'wechat';
      break;
    default:
      break;
  }
}
function addMiniappTargetParam ( target , originalConfig = { } ) { switch ( target ) { case WECHAT_MINIPROGRAM : originalConfig . platform = 'wechat' ; break ; default : break ; } }
Add miniapp target param to match jsx2mp-loader config
Add miniapp target param to match jsx2mp - loader config