-
Notifications
You must be signed in to change notification settings - Fork 4.9k
fix(taro-platform-h5): 生成definition.json api为空 #17546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Walkthrough该 PR 对构建流程做出调整,主要在 Changes
Sequence Diagram(s)sequenceDiagram
participant Input as index.ts
participant Rollup
participant Plugin as dts Plugin
participant OutputJS as index.esm.js
participant OutputDTS as index.esm.d.ts
Input->>Rollup: 读取入口文件
Rollup->>Rollup: 执行打包 (ES模块)
Rollup->>OutputJS: 输出ES模块
Rollup->>Plugin: 调用dts插件生成声明文件
Plugin->>OutputDTS: 输出 .d.ts 文件
Possibly related PRs
Suggested Reviewers
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🔇 Additional comments (4)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
这个 PR 做了什么? (简要描述所做更改)
在
taro-h5
的构建中生成打包后的index.esm.d.ts
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
Summary by CodeRabbit