ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.3k stars 1.36k forks source link

🧐[问题] 打包后体积过大,如何优化呢? #8571

Open milobluebell opened 3 months ago

milobluebell commented 3 months ago

🧐 问题描述

打包后体积过大,如何优化呢?

💻 示例代码

// 伪代码:

import { ProTable } from "@ant-design/pro-components";

const App = () => <ProTable ....props />;

🚑 其他信息

image

github-actions[bot] commented 3 months ago

以下的 Issues 可能会帮助到你 / The following issues may help you

fnoopv commented 3 months ago

8178

omgcx1222 commented 3 months ago

8178

这个只是说了3.0版本的规划,和体积过大的原因:兼容antd 4版本 那么如何在打包时把兼容的代码剔除掉

fnoopv commented 3 months ago

没办法

omgcx1222 commented 3 months ago

没办法

我超,那说个锤子