Open dujiaolong opened 7 years ago
NOT cssnext.browsers
cooking.set({
extends: [
'vue',
['autoprefixer', {browsers: ['last 2 versions']}]
]
})
extends: { vue: true, lint: true, sass: true, autoprefixer: { browsers: ['last 2 versions'] } } thx, I modified like this, it can't work, 'extends' must be array ?
https://github.com/ai/browserslist#queries
The webkit
is present when using the default configuration, so you should check autoprefixer
documentation;
extends: {
vue2: true,
autoprefixer: {}
}
I modified cooking.conf.js like this: extends: { vue: true, autoprefixer: { cssnext: { browsers: ['last 2 versions'] } } } cooking build show loaded autoprefixer successfully,but in css can't see prefix 'webkit'