Possibly the dumbest question I've asked but I'm finding the documentation and the limited examples quite hazy.
I'd like to support as many browsers as possible, including IE7+ e.g.
.pipe(autoprefixer({
browsers: ['last 5 versions', 'ie >= 7']
})
Logically, I assume the 'browsers' option above exists to define exactly which browsers, or range of browsers, should be supported. In other words, the above may translate as:
"Support the last 5 versions of every browser AND ensure that all versions of IE (from 7 upwards) are supported."
Another way of saying it:
"Don't remove any styles that are required by these browsers"
Have I understood the browsers
option correctly please?
Yeap, you understand browsers
correctly. ['last 5 versions', 'ie >= 7']
means “Support the last 5 versions of every browser and ensure that all versions of IE (from 7 upwards) are supported”.