# Trouble excluding @babylonjs/core from bundle in vite

**URL:** <https://forum.babylonjs.com/t/trouble-excluding-babylonjs-core-from-bundle-in-vite/51711>\
**Category:** Questions\
**Created:** [July 1, 2024, 5:49pm UTC](https://forum.babylonjs.com/t/trouble-excluding-babylonjs-core-from-bundle-in-vite/51711 "2024-07-01T17:49:18Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [March 23, 2025, 5:49pm UTC](https://forum.babylonjs.com/t/trouble-excluding-babylonjs-core-from-bundle-in-vite/51711/11 "2025-03-23T17:49:19Z")

</div>

@Simon_Weck

Check this out:

> [@Vite, Rollup, Chuncking](https://forum.babylonjs.com/t/vite-rollup-chuncking/39106/4):
>
> This answer did not work for me as is. I wrote up how I extended it on Stack Overflow: [vue.js - Skipping larger chunks while running "Npm run build" - Stack Overflow](https://stackoverflow.com/a/79019461/6660678) It wasn’t enough for me to split off just Engine and Scene. I needed much more.

---

_[View the full topic](https://forum.babylonjs.com/t/trouble-excluding-babylonjs-core-from-bundle-in-vite/51711)._
