Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets with useref.