Closed afc163 closed 6 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
这个更改涉及在 antd.ts
文件中调整 AntdMomentWebpackPlugin
的使用方式。在 api.chainWebpack
函数内创建 AntdMomentWebpackPlugin
实例时,传递了一个包含 disableDayjsAlias
属性设置为 true
的对象。这种更改旨在禁用 Day.js 的别名使用,从而确保与 Moment.js 的兼容性。
文件路径 | 变更摘要 |
---|---|
packages/plugins/src/antd.ts | 修改 AntdMomentWebpackPlugin 的使用方式,传递 disableDayjsAlias 属性为 true 的对象。 |
啊,插件更新多简洁,
Moment 竟与 Day.js 别,
新增属性解纷争,
编码愉快又顺心。🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
see https://github.com/ant-design/antd-moment-webpack-plugin/pull/4
Summary by CodeRabbit
AntdMomentWebpackPlugin
的使用方式,添加disableDayjsAlias: true
配置,以提高插件兼容性。