Open lextoc opened 7 years ago
Trying to get autoprefixer to work on an open source project I want to contribute to. I'm not that experienced with Grunt, I can't get it to work. For now I managed to let sass:postcss create an autoprefixed.min.css, but it doesn't prefix.
sass:postcss
I've got a stackoverflow with a small bounty on it about this, should that motivate anyone to help me out. http://stackoverflow.com/questions/41535175/grunt-grunt-postcss-autoprefixer-not-working
I've been fiddling around a little bit and my sass.js is a little different now, but it still doesn't work ... :
sass.js
module.exports = { dev: { options: { style: 'expanded', compass: true }, files: { 'public/styles/css/site.min.css': 'public/styles/site.sass', } }, postcss: { options: { map: false, processors: [ require('autoprefixer')({ browsers: ['last 8 versions'] }) ] }, files: { 'public/styles/css/autoprefixed.css': 'public/styles/css/site.min.css' } } };
Trying to get autoprefixer to work on an open source project I want to contribute to. I'm not that experienced with Grunt, I can't get it to work. For now I managed to let
sass:postcss
create an autoprefixed.min.css, but it doesn't prefix.I've got a stackoverflow with a small bounty on it about this, should that motivate anyone to help me out. http://stackoverflow.com/questions/41535175/grunt-grunt-postcss-autoprefixer-not-working
I've been fiddling around a little bit and my
sass.js
is a little different now, but it still doesn't work ... :