code: function transformMiniProgramEventType(element, eventType, opts) {
      let {customComponentTags} = opts || {};
      let tagName = element.name.toLowerCase();
      let isClickEvent = eventType === 'click';
      if (customComponentTags) {
          let isCustomTag = customComponentTags.some(item => item === tagName);
          if (isCustomTag) {
              return eventType;
          }
      }
  
      return isClickEvent ? 'tap' : eventType;
  }
docs: Transform mini program event type:
  `click` -> `tap` only for native component
  
  @param {Object} element the element to transform
  @param {string} eventType the event type to transform
  @param {Object} opts the transform plugin options
  @return {string}