Skip to content

fix: 对齐 webpack 5.106.2 以修复 motion-utils 构建 - #168

Merged
zhipenglin merged 1 commit into
masterfrom
cursor/webpack-override-motion
Aug 31, 2026
Merged

zhipenglin merged 1 commit into
masterfrom
cursor/webpack-override-motion

Conversation

@zhipenglin

Copy link
Copy Markdown
Member

Summary

  • 1.1.92 CI 仍报 warnOnce is not exported from motion-utils
  • 与 components-thirdparty 一样用 overrides 锁定 webpack@5.106.2
  • 同步锁定 framer-motion / motion-dom / motion-utils,与 @kne/timeline@1.0.4 一致

Version

1.1.92 → 1.1.93

Test plan

  • GitHub Actions npm run build 通过并发布 npm

Made with Cursor

CI 无 lockfile 时 react-scripts 会落到旧 webpack,按 exports 的 require 优先解析 motion-utils CJS,生产构建报 warnOnce。overrides 与 components-thirdparty 一致。

Co-authored-by: Cursor <cursoragent@cursor.com>
@zhipenglin
zhipenglin merged commit 97cec70 into master Aug 31, 2026
@zhipenglin
zhipenglin deleted the cursor/webpack-override-motion branch August 31, 2026 06:50
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