function o() {
  return {
    type: "component",
    /**
     * name 是你在模板中写的组件名，比如 <CiUpload />，这里接收到的是 "CiUpload"
     */
    resolve(e) {
      if (!/^Ci[A-Z]/.test(e)) return;
      const t = e.replace(/^Ci/, "ci-").replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
      return {
        name: e,
        // 保持原组件名
        from: `@lemon30_npm/csit-vue3/${t}`
        // 自动解析导入路径
      };
    }
  };
}
export {
  o as CsitComponentResolver
};
