impove build by adding image minify & generating critical css