Add a transformer to switch to minified version & CDN

Closes #1