add enviroment support and minify js and css files in prod.