Skip to content
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

feat: append entry info into stats #823

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Conversation

PeachScript
Copy link
Member

将 entry 信息添加到 stats.json 的 chunks 数据中,可用于框架生成多 entry 的 HTML 文件,改动点:

  1. entry 字段从 bool 调整为 enum,类型为 false | string,字符串值为 entry name
  2. 增加 dependencies 字段,声明该 chunk 依赖的其他 entry chunk id(即 shared entry chunk id)

@PeachScript PeachScript changed the title feat: append entry info to stats feat: append entry info into stats Dec 26, 2023
@sorrycc sorrycc merged commit c8b0369 into master Dec 27, 2023
@delete-merged-branch delete-merged-branch bot deleted the feature/entry-info-in-stats branch December 27, 2023 00:55
@PeachScript PeachScript linked an issue Dec 27, 2023 that may be closed by this pull request
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC] multiple entry + initial chunk splitting support
2 participants