Speed Up Webpack Compile Time

Hello,
I used to use a free cdn to include phaser in my project, and that was great. The compile time was always around 100-200ms.
Recently, I tried importing phaser using webpack, and my bundle size shot up to 1mb, which was expected, and also the compile time is very slow. I like using the import phaser from 'phaser' method because it gives me autocomplete.
Is there a way to speed up bundling time or maybe keeping autocomplete but not including phaser in the bundle.

thanks!

Use mode: 'development' while developing the app.

1 Like

You could also try my template:

Thanks! This helped