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/p...
Смотрите видео Full beginner Gulp setup for SCSS, minifying Javascript, and minifying/webp images онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Coding in Public 18 Март 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 20,296 раз и оно понравилось 550 людям.