I’d like to optimize my production site so that for instance css-files are load-time-optimized (reduced to one file, unused rules removed, …) In order to transform those css files from Sass to production level I use a number of gulp transformations.
It would be great, if I could have in my templates a condition, that renders different links to css and js reccources.
On dev I would like to see rather the unmerged files to efficiently identify where some problem occurs.
On test and dev I would like to have the merged/optmized files linked.
How could this be done?