Closed willc001 closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
@afc163 Could you please have a look at this PR?
@shaodahong 发一个新版吧。
+ @ant-design/compatible@1.0.5
According to Customize in less file, I imported
~antd/dist/antd.less
into my less file. And I imported~@ant-design/compatible/assets/index.less
, when I was migrating to v4. Then when I was trying to build my project, the memory used by nodejs process was increasing endless. I noticed that the less files used in~antd/dist/antd.less
is from the lib folder, and the less files used in~@ant-design/compatible/assets/index.less
is from the es folder. So I used the less files in lib folder instead and the problem fixed. I compared both files built from the es folder and built from the lib folder, they was exactly the same.