# Atlaskit production bundle size

**URL:** <https://community.developer.atlassian.com/t/atlaskit-production-bundle-size/45158>\
**Category:** Jira Development\
**Tags:** ui, webpack, atlaskit\
**Created:** [February 11, 2021, 10:45am UTC](https://community.developer.atlassian.com/t/atlaskit-production-bundle-size/45158 "2021-02-11T10:45:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fkasapov](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/fkasapov/32/37317_2.png) [@fkasapov](https://community.developer.atlassian.com/u/fkasapov)\
**Post date:** [February 11, 2021, 10:45am UTC](https://community.developer.atlassian.com/t/atlaskit-production-bundle-size/45158/1 "2021-02-11T10:45:50Z")

</div>

Hi people,

I want to ask you is there any way for reducing the production bundle size of Atlaskit? How do you cope with this since as you can see in the image attached the node\_modules folder is around 2 MB ?

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/2/b/2b27a09a356f098f3182dffaf6a4ba54927aff95.png)

Kind Regards,  
Philip Kasapov

---

<div class="post-metadata">

**Author:** ![remie](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/remie/32/34985_2.png) [@remie](https://community.developer.atlassian.com/u/remie)\
**Post date:** [February 11, 2021, 7:09pm UTC](https://community.developer.atlassian.com/t/atlaskit-production-bundle-size/45158/2 "2021-02-11T19:09:41Z")

</div>

Extremely aggressive tree shaking, dynamic module loading & chunk splitting

---

<div class="post-metadata">

**Author:** ![madamczak](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/madamczak/32/44239_2.png) [@madamczak](https://community.developer.atlassian.com/u/madamczak)\
**Post date:** [February 11, 2021, 10:22pm UTC](https://community.developer.atlassian.com/t/atlaskit-production-bundle-size/45158/3 "2021-02-11T22:22:28Z")

</div>

Hi @fkasapov, if you are using yarn you could try those tools to optimize the node\_modules and webpack bundle:

- [GitHub - scinos/yarn-deduplicate: Deduplication tool for yarn.lock files](https://github.com/atlassian/yarn-deduplicate)
- [GitHub - atlassian-labs/webpack-deduplication-plugin: Plugin for webpack that de-duplicates transitive dependencies in yarn and webpack-based projects.](https://github.com/atlassian-labs/webpack-deduplication-plugin)

You can also double-check if you need all those dependencies. If you are not sure why the dependency is in the bundle you can find out using npm or yarn:

- [npm-ls | npm Docs](https://docs.npmjs.com/cli/v6/commands/npm-ls)
- [yarn why | Yarn](https://classic.yarnpkg.com/en/docs/cli/why)

Thanks,  
Maciej
