How to reduce build time

Currently I try to understand how the Grafana code is structured. Therefore I’m adding additional output to the go and TypeScript files. Unfortunately the build takes quite long if I run the

go run build.go build-frontend

command. In my case it takes about 10 minutes. It looks like most of the time is spend to build a webpack bundle. Is there a possibility to improve the build time?