Can I not have to include 8 <script src="babylon.js/babylon.inspector.bundle.js/babylonjs.loaders.min.js/SO MANY !"> just do use Babylonjs?

Just starting out Babylon.js hoping to have a single file or maybe just two [cause pep.js is commonly included to aid in touch detection] but I was thrown into seeing having to include:

<script src="https://cdn.babylonjs.com/babylon.js"></script>
<script src="https://cdn.babylonjs.com/inspector/babylon.inspector.bundle.js"></script>
<script src="https://cdn.babylonjs.com/loaders/babylonjs.loaders.min.js"></script>
<script src="https://cdn.babylonjs.com/materialsLibrary/babylonjs.materials.min.js"></script>
<script src="https://cdn.babylonjs.com/postProcessesLibrary/babylonjs.postProcess.min.js"></script>
<script src="https://cdn.babylonjs.com/gui/babylon.gui.min.js"></script>
<script src="https://cdn.babylonjs.com/proceduralTexturesLibrary/babylonjs.proceduralTextures.min.js"></script>
<script src="https://cdn.babylonjs.com/serializers/babylonjs.serializers.min.js"></script>

Oh please no…please…just…no…
I understand it is for optimization and you only need to include what you need and all that and it is good and all, but is there a SINGLE file that include EVERYTHING ? Thanks.

Hello and welcome :slight_smile:

You do not need all if you only want to render a scene .
The engine is entirely available here:
<script src="https://cdn.babylonjs.com/babylon.js"></script>

Hello !
So included inside:
<script src="https://cdn.babylonjs.com/babylon.js"></script>
Is ALL the capabilities of all these 8 stuff combined ?

<script src="https://cdn.babylonjs.com/babylon.js"></script>
<script src="https://cdn.babylonjs.com/inspector/babylon.inspector.bundle.js"></script>
<script src="https://cdn.babylonjs.com/loaders/babylonjs.loaders.min.js"></script>
<script src="https://cdn.babylonjs.com/materialsLibrary/babylonjs.materials.min.js"></script>
<script src="https://cdn.babylonjs.com/postProcessesLibrary/babylonjs.postProcess.min.js"></script>
<script src="https://cdn.babylonjs.com/gui/babylon.gui.min.js"></script>
<script src="https://cdn.babylonjs.com/proceduralTexturesLibrary/babylonjs.proceduralTextures.min.js"></script>
<script src="https://cdn.babylonjs.com/serializers/babylonjs.serializers.min.js"></script>

If that is true, it would be great, cause I just one file, I don’t want all these…mess.

Hi. As Deltakosh said, it should be enough, it depends what do you want to archieve with your scene.
If you want something more, you can find here a short descpription of each package (ak link above) so you’ll know if you need them or not. Cheers!
https://doc.babylonjs.com/features/npm_support#available-packages

Thank you @MarianG and thank you @Deltakosh.