@cesium/engine and @cesium/widgets with vite

I am facing 3DTileset loading issue with Vite config while same 3DTileset working fine with Craco , Guide me if i am configuring it wrong and i am adding the link of my post