pre-compressing static files during compilation