mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
docs: specify minimum less version (#22834)
* chore: specify minimum less version * Apply suggestions from code review Co-authored-by: 偏右 <afc163@gmail.com>
This commit is contained in:
parent
c956de52ad
commit
aa119bd13c
@ -203,6 +203,8 @@ We have built-in dark theme and compact theme in antd, you can reference to [Use
|
||||
|
||||
> You could also try [craco](https://github.com/sharegate/craco) and [craco-antd](https://github.com/FormAPI/craco-antd) to customize create-react-app webpack config same as customize-cra does.
|
||||
|
||||
> Note: It is recommended to use the latest version of `less`, or a minimum version greater than `3.1.0`.
|
||||
|
||||
## Replace momentjs to Day.js
|
||||
|
||||
You can use [antd-dayjs-webpack-plugin](https://github.com/ant-design/antd-dayjs-webpack-plugin) plugin to replace momentjs to Day.js to reduce bundle size dramatically.
|
||||
|
Loading…
Reference in New Issue
Block a user