question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bundle size huge, including whole @antv in bundle

See original GitHub issue

bundle size same in both cases below, I am using the latest version of umi to build.

import Column from "@ant-design/charts/es/plots/column"; import { Column } from "@ant-design/charts";

tried these https://charts.ant.design/guide/faq/

https://codesandbox.io/s/clever-gould-ls3fl?file=/App.tsx

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
caoqiqicommented, Nov 16, 2021

At present, only plots and graphs are classified, and the bottom layer is still the full package, which will be optimized later.

how about the optimization?

1reaction
lxfu1commented, Aug 6, 2021

At present, only plots and graphs are classified, and the bottom layer is still the full package, which will be optimized later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reduce size in Ant Design Bundle Size | by Narendra Sisodiya
Adding individual components will save size. This is applicable to Lodash, Material UI and similar libraries which support individual export ...
Read more >
[Bundle size] Victory bundle size is large · Issue #656 - GitHub
I've compared bundle sizes between victory and other solutions (e.g., D3), and I wanted to report the results because I found significant ...
Read more >
Slimming down your bundle size - LogRocket Blog
A critical part for improving frontend performance is to reduce the JavaScript bundle size that should be downloaded via the network.
Read more >
React webpack bundle size is large - Stack Overflow
js$|\.css$|\.html$/, threshold: 10240, // Compress all assets, including files with `0` bytes size ...
Read more >
Minimizing Webpack bundle size - Anvil
Learn how to minimize your Webpack bundle size by following these best ... during compilation, instead of including the entire module.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found