Hello guys, so i have build some games with phaser now and i want to start optimizing then, when i bundle the game the bundle size is massive, i have already try the custom build approach but i did not have any success, my game is on the v3.70.0 with typescript and vite, is there anything i’m missing, any other solutions to only pick what my game really need?
Obs. I have no problems switching vite with another tool if i can get a smaller bundle size, but for development the typescript is a must have
If anyone has the same problem, the solution is to import the custom build into the index.html and download the type definitions of phaser from the oficial repo, then everything should work fine, at least it worked for me
Got this solution from the official discord server