I'm building a static site (i.e. HTML files served from a basic web server). During development I'd like to use local (and non-minified) copies of Javascript code and CSS files but when deployed, I'd like to refer to minified versions of the same files.My current solution is to add \[code\]data-prod-href\[/code\] and \[code\]data-prod-src\[/code\] attributes to \[code\]script\[/code\] and \[code\]link\[/code\] tags and replace the references as part of my build script. While this keeps the HTML files valid and allows me to develop without running the build script every time, it feels a little bit NIH.I looked around quite a bit and didn't find any standard practice for this sort of thing. What am I missing?