Closed timothyjensen closed 7 years ago
Hey Tim,
Thank you. Updated as you [can see here](autoprefixer package) and made a note in the episode too.
When using gulp-autoprefixer I still see the error gulp-notify: [Task Failed [[object Object] is not a PostCSS plugin]
.
Is the problem with this? :
.pipe( postcss([
autoprefixer({
browsers: ['last 2 versions']
})
]))
Whoops. We want to use the PostCSS Autoprefixer and not the gulp-autoprefixer
. Sorry about that. The package.json
now has the right autoprefixer in it.
To install on your machine, type: npm install --save-dev autoprefixer
I believe 'autoprefixer' in gulpfile.js should be changed to 'gulp-autoprefixer'.Actually, the issue is in package.json, where 'gulp-autoprefixer' should be changed to 'autoprefixer'.