grunt-autoprefixer
grunt-autoprefixer copied to clipboard
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
"Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead"
I execute the command, console will appear after this warning, I have not found the options can be configured in the debug, how take out???
The following is my configuration:
autoprefixer: {
options: {
diff: false,
browsers: ['ios 5', 'android 2.3']
},
server: {
options: {
map: true
},
files: [{
expand: true,
cwd: '.tmp/styles/',
src: '**/*.css',
dest: '.tmp/styles/'
}]
},
dist: {
files: [{
expand: true,
cwd: '.tmp/styles/',
src: '**/*.css',
dest: '.tmp/styles/'
}]
}
}
Use grunt-postcss with autoprefixer instead of grunt-autoprefixer.
thanks ^_^
在 2016年3月19日,下午2:30,Andrey Sitnik [email protected] 写道:
Use grunt-postcss with autoprefixer instead of grunt-autoprefixer.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/nDmitry/grunt-autoprefixer/issues/122#issuecomment-198647932