I'm experiencing a strange error with angular-material & grunt-contrib-less.
Every time i'm trying to run a simply grunt less
task it fails with the following error message
>> ParseError: media definitions require block statements after any features in lib/angular-material/angular-material.css on line 654, column 14:
>> 653
>> 654 @media screen\0 {
>> 655 .flex {
Warning: Error compiling less/libs.less
I'm using the latest stable release of angular material (v.1.0.1).
It's required in less like this:
@import (less) "../lib/angular-material/angular-material.css";
And this is my task:
less: {
options: {
compress: true
},
libs: {
files: {
'public/src/css/libs.css': 'less/libs.less'
},
options: {
sourceMap: true,
outputSourceFiles: true,
sourceMapFilename: 'public/src/css/libs.css.map',
sourceMapURL: '/src/css/libs.css.map',
sourceMapRootpath: '/'
}
}
....(more tasks here)
}
I would love some help on this.