add constant to run assets in production mode if defined