Getting started … webpack vs vite vs?

Hello.

I’m just getting started with Babylonjs.

I’m wondering if there’s a general consensus as to whether to use webpack or vite or something else.

Suggestions? Pros & cons?

Thank you.
-lagouyn

Welcome to the community @lagouyn

Vite all the way. Webpack is a dinosaur in comparison :slight_smile:

Just choose a starting template (I like the svelte-ts template) and everything is configured for you. It’s a wonderful developer experience. Although webpack was great in its day, the amount of time I’ve wasted grappling with webpack config, plugins, dependencies and other issues has been staggering. Vite just works.

1 Like