Next, you want to install and setup the autoprefixer package. The autoprefixer automatically handles the browser prefixing for you. No more having to specify all of the different prefixes for the browsers. Imagine the time that will save you. Seriously, you can just specify
border-radius, for example, and the autoprefixer node plugin will take care of prefixing all the different browsers.
In this video, I have you installing the wrong package, as I had you put this one in. Whoopsie. You don’t want
gulp-autoprefixer. Why? Because in the next episode, we are installing PostCSS. You need the one that works with it, which is this autoprefixer package.
To install it, type in
npm install --save-dev autoprefixer.
Who needs copy/paste? Right. Writing code from scratch is fun!
Total Lab Runtime: 01:10:42