In my Grunt setup, I have configured the concatenation and minification of my project's CSS like this:
cssmin: {
options: {
},
concat: {
files: {
'dist/app.css': [
'tmp/*.css',
'app/theme/css/vendors/fontello.css',
'app/theme/js/vendors/revolution/css/settings.css',
'app/theme/css/styles.css',
'app/theme/css/media-queries.css',
'app/app.css'
]
}
},
min: {
files: [{
src: 'dist/app.css',
dest: 'dist/app.css'
}]
}
},
However, I've noticed that it has removed the import statement for Google Fonts:
@import url("http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic");
Additionally, the relative image paths in third-party CSS files are not being resolved. I know that cssmin uses clean-css, which should be able to handle these issues, but I'm struggling to find clear examples or documentation on how to configure it properly. Can anyone provide guidance?