# Single Babylon.js package

**URL:** <https://forum.babylonjs.com/t/single-babylon-js-package/37975>\
**Category:** Questions\
**Created:** [February 6, 2023, 4:35pm UTC](https://forum.babylonjs.com/t/single-babylon-js-package/37975 "2023-02-06T16:35:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamaciller](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/yamaciller/32/21810_2.png) [@yamaciller](https://forum.babylonjs.com/u/yamaciller)\
**Post date:** [February 6, 2023, 4:35pm UTC](https://forum.babylonjs.com/t/single-babylon-js-package/37975/1 "2023-02-06T16:35:37Z")

</div>

We are working under the circumastances, that we are only allowed to use a single file as library for our project.  
So we are limited to the min version of the Engine.

Is there a possibility to have _a single file_ including all the other additional packages like materials, gui, inspector, ammo etc?

Thanks. Werner

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [February 6, 2023, 11:17pm UTC](https://forum.babylonjs.com/t/single-babylon-js-package/37975/2 "2023-02-06T23:17:14Z")

</div>

Maybe you could bundle them into your own custom package?

cc @RaananW

---

<div class="post-metadata">

**Author:** ![brianzinn](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/brianzinn/32/28013_2.png) [@brianzinn](https://forum.babylonjs.com/u/brianzinn)\
**Post date:** [February 7, 2023, 12:37am UTC](https://forum.babylonjs.com/t/single-babylon-js-package/37975/3 "2023-02-07T00:37:30Z")

</div>

i did something similar with rollup some time ago as an experiment:  
[brianzinn/babylon-ssg-rollup (github.com)](https://github.com/brianzinn/babylon-ssg-rollup)

i think it had gui and materials. probably Raanan has a better solution!

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [February 7, 2023, 10:38am UTC](https://forum.babylonjs.com/t/single-babylon-js-package/37975/4 "2023-02-07T10:38:27Z")

</div>

we currently don’t offer that. the package will also be quite large and most people don’t need that. but, as @docEdub said - you can bundle them yourself - create a project importing all of the packages you need, and use a bundler (like webpack, for example) to “join” them all together.
