Npm build prod slow (slow time)

Npm build prod slow (slow time)
0

Hello everybody,

Need Help, i have trouble with npm build command,

npm run build will execute below command:
node --max_old_space_size=2048 ./node_modules/@angular/cli/bin/ng build --prod && node ./timestamp.js

success but finish after 40 minute build.

any suggest to perform build with speed time on build?

Thanks all angular master