Clean public CSS and JS and generate new content depending on dev or prod mode.