Back to Browse

Full beginner Gulp setup for SCSS, minifying Javascript, and minifying/webp images

21.0K views
Mar 18, 2021
19:45

I'll show you how to convert, autoprefix, and minify SCSS, minify javascript, and minify and create webp images with Gulp. Type one command in your terminal ('gulp') and focus on writing SCSS, JS, and adding images. Gulp will do the rest! We use a variety of plugins: • gulp-sass (convert SCSS to CSS) • gulp-autoprefixer (add support for older browsers) • gulp-clean-css (minify CSS) • gulp-terser (minify JS—support for ES6) • gulp-imagemin (minify images jpg and png for the web) • gulp-webp (create webp images for the web) Please like and subscribe for more content. And let me know in the comments what else you’d like me to cover! Source code: https://codepen.io/Coding-in-Public/pen/jOBryXj

Download

1 formats

Video Formats

360pmp428.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Full beginner Gulp setup for SCSS, minifying Javascript, and minifying/webp images | NatokHD