replace main files source with minified versions