nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

No error message/fail when incorrect browsers specified #92

Closed benfrain closed 9 years ago

benfrain commented 9 years ago

I had been using Autoprefixer 2.0.0 with this browser config:

options: {
    browsers: ['last 2 version','Android 2']
},

However, after updating to 2.2.0 the Autoprefixer task continued without any error messages but was not processing the job (e.g. it didn't pick up the source file and write to a dest).

It turns out that the browsers parameters I had been using in 2.0.0 are not valid for 2.2.0.

Could some feedback be included so that the task fails if an incorrect browsers parameter is passed?

benhaldenby commented 9 years ago

Seconded. This has caught me out as well.

jljorgenson18 commented 9 years ago

+1

varemenos commented 9 years ago

+1

rhoffmann commented 9 years ago

+1 (caused me some debug session, try/catched the prefix() function)