Skip to content

feat: production 构建输出 README.md (2.4.8) - #130

Merged
zhipenglin merged 1 commit into
mainfrom
cursor/include-readme-in-build
Aug 11, 2026
Merged

feat: production 构建输出 README.md (2.4.8)#130
zhipenglin merged 1 commit into
mainfrom
cursor/include-readme-in-build

Conversation

@zhipenglin

Copy link
Copy Markdown
Member

Summary

  • production 打包结束后将 README.md 拷贝到 webpack 输出目录(与 remoteEntry.js 同级)
  • libs example 场景透传上级包 README 路径
  • 版本 2.4.72.4.8

Test plan

  • npm test 通过(含 readme-webpack-plugin 拷贝用例)
  • 下游组件库升级/链接本包后 npm run build,确认 build/README.md 存在

Made with Cursor

使 CDN 上 remoteEntry.js 同级可访问文档,供远程组件文档搜索使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
@zhipenglin
zhipenglin merged commit 51e9237 into main Aug 11, 2026
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.

1 participant