# Supporting webpack integration

**URL:** <https://community.cesium.com/t/supporting-webpack-integration/6169>\
**Category:** CesiumJS\
**Created:** [October 20, 2017, 5:31pm UTC](https://community.cesium.com/t/supporting-webpack-integration/6169 "2017-10-20T17:31:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sarah/32/1947_2.png) [@sarah](https://community.cesium.com/u/sarah)\
**Post date:** [October 20, 2017, 5:31pm UTC](https://community.cesium.com/t/supporting-webpack-integration/6169/1 "2017-10-20T17:31:59Z")

</div>

We now have an officially supported repository containing the recommended configuration for integrating Cesium in a webpack application, as well a tutorial and other support. Find it all here: [https://cesium.com/blog/2017/10/18/cesium-and-webpack/](https://cesium.com/blog/2017/10/18/cesium-and-webpack/)

---

<div class="post-metadata">

**Author:** ![TJ\_Koury](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tj_koury/32/3280_2.png) [@TJ\_Koury](https://community.cesium.com/u/TJ_Koury)\
**Post date:** [October 20, 2017, 5:42pm UTC](https://community.cesium.com/t/supporting-webpack-integration/6169/2 "2017-10-20T17:42:39Z")

</div>

Looks good!

If you want, you can use our library to make examples as well:

[https://www.npmjs.com/package/webpack-cesium](https://www.npmjs.com/package/webpack-cesium)

You can just install it from npm, or just add a tag to use the CDN version:

> **[cdnjs.com - The best FOSS CDN for web related libraries to speed up your...](https://cdnjs.com/libraries/webpack-cesium)**
>
> cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!

If you guys want to go that direction, would be happy to help.

-TJ

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [October 23, 2017, 9:36pm UTC](https://community.cesium.com/t/supporting-webpack-integration/6169/3 "2017-10-23T21:36:19Z")

</div>

Hi TJ,

We ultimately went with using the Cesium source rather than a single file so the developer could improve bundle size by including only specific modules, and would have control over the webpack configuration to add any additional performance tweaks or development preferences.

Thanks,

Gabby

---

<div class="post-metadata">

**Author:** ![TJ\_Koury](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tj_koury/32/3280_2.png) [@TJ\_Koury](https://community.cesium.com/u/TJ_Koury)\
**Post date:** [October 24, 2017, 11:37am UTC](https://community.cesium.com/t/supporting-webpack-integration/6169/4 "2017-10-24T11:37:32Z")

</div>

Definitely a good option to allow for users to adjust according to use case.

Just FYI, all webpack-cesium is just base cesium packed up.

You might want to add the option to do single-file to make it easier for developers to use it without a server, or even host it like Google Maps.
