Very slow build times

I used npm and the phaser3 project template made by some kind programmer. When I build it it takes a long time and tells me this:

Built at: 04/17/2023 9:06:47 PM
            Asset      Size  Chunks                    Chunk Names
project.bundle.js  1.11 MiB       0  [emitted]  [big]  main
Entrypoint main [big] = project.bundle.js
[0] ./src/index.js 563 bytes {0} [built]
[1] ../phaser/dist/phaser.js 7.06 MiB {0} [built]
[2] /usr/lib/nodejs/process/browser.js 5.29 KiB {0} [built]

I’ve made no big changes but I notice there that phaser.js is being “built”. I know javascript isn’t compiled but I can’t think of what is taking so long. Any ideas?

:wave:

This is normal, unfortunately. Theoretically the rebuilding should be a little faster than the first build. But Rollup and Webpack can still be pretty slow as Phaser is a big library. You might try one of the Vite Phaser templates instead.