Fix production running by actually compiling webpack
In production mode, webpack was being configured but not compiled. This MR runs the compilation in production mode and handles errors / logs stats.
In production mode, webpack was being configured but not compiled. This MR runs the compilation in production mode and handles errors / logs stats.