Run asset precompilation only in production mode