
Discover how Gulp automates repetitive development tasks—from setting up a Gulp configuration and dependencies to optimizing assets, live reloading, and building the distribution.
Navigate gulp 4 by outlining the course structure, installing dependencies, creating a simple task, and establishing a solid project structure with preprocessing source maps, server, and watch tasks.
Install a browser (Google Chrome or Firefox Developer Edition) to preview and inspect your code, and a code editor (Visual Studio Code) to automate your development workflow.
Learn Gulp basics, installation, and its core features. Set up a structured project, create the first gulp task, and add sass, watch, and browser reload tasks.
Learn how gulp automates repetitive web development tasks, from auto-prefixing CSS and compiling preprocessors to Babel transpilation, image optimization, and live browser reload with plugins.
Install the gulp command line interface globally, create a project folder and package.json, then install gulp as a development dependency and review node_modules.
Discover how to configure gulp with a gulpfile.js, define your first asynchronous gulp task using a callback, and run it to automate your development workflow.
Learn how to signal gulp task completion in asynchronous workflows, using either a callback function or a return statement. The lesson shows practical patterns to ensure tasks finish without errors.
Structure a gulp project by separating source code and assets, with a source folder named sirc containing index.html, img, styles, and javascript folders, plus a distribution folder for output.
Explore how to automate styles with gulp 4 by installing gulp-sass and sass as dev dependencies, then create a gulp task that uses pipe and destination to compile scss files.
Explore gulp glob patterns to target multiple sass files: use an asterisk for a single extension, a double star for subfolders, and a negation operator to exclude files.
Learn to automate style updates with a Gulp watch task that monitors source files and runs tasks in sequence, applying changes live in the browser.
Set up a live browser-sync server in gulp to preview changes in real time. Auto-reload the page on file changes to streamline your development workflow.
Explore Gulp 4 for automating development tasks with an optimization focus. Minify CSS and JavaScript, concatenate scripts, run image-focused tests, and set a default task to execute all tasks.
Minify css with gulp by merging styles into a single line and removing spaces, indentation, and comments to shrink file size and speed up loading with a watch task.
Configure a gulp 4 JavaScript task to modify code, set up a watch that tracks all JavaScript files, and minify output with a plugin.
Learn to rename minified outputs in Gulp 4 by installing and integrating a rename plugin, configuring a suffix for JavaScript and CSS files, and ensuring only minified files are renamed.
Automate image optimization with gulp by creating an image optimization task, adding three images to the project, installing a gulp plugin for image optimization, and validating the size reductions.
Learn to automate image optimization in Gulp 4 with the gulp cache plugin, caching and minifying new images and clearing cache to rebuild from scratch.
Refine the gulp workflow by templating email files, minifying assets, and using Babel to transpile modern JavaScript to ES5, while adding a siestas styles plugin for browser compatibility.
Install and configure gulp autoprefixer to automatically add vendor prefixes to css for major browsers. Integrate it into the gulp pipeline before source maps, then test in the browser.
Structure your gulpfile.js by creating a files object to map globs to properties, reducing repetition in watch tasks, and switch to gulp.parallel with a serve task that runs before watching.
Automate packaging by installing the gulp zip plugin, configuring a zip task, and archiving the project (excluding node_modules) to a root output with a project-named zip file.
Convert a gulp configuration to a modern style, export tasks, and rewrite tasks to automate your development workflow with gulp 4.
Learn how gulp 4 automates the workflow by running only the changed task, not all tasks. Configure per-task watches and browser sync to speed up builds in large projects.
Complete the course and apply its material to boost your web development skills. Pursue opportunities in London web development and build your career.
What's this course about?
In this course you will learn how to automate routine and tedious tasks with Gulp 4. The code editor for the course is Visual Studio Code (although you can use any code editor). The course is aimed at the beginners or people new to Gulp and will teach you how to set up a good configuration file for the frontend development.
More details please!
If you have never heard of Gulp before, it is a special toolkit that allows you to automate routine tasks in web development. In this course I will show you how to set up Gulp 4, use different Gulp plugins, write tasks and track the file changes. At the end of the course you will have a fully functional gulp configuration file, which can be used in your own projects.
We will start from the very basics. I will show you how to install all the needed dependencies and the Gulp itself. Then we will explore how to write tasks and watch for file changes. Almost every lesson we will improve our gulp configuration file and add a new feature to it. I will also provide to you the complete gulp configuration file with additional comments describing most used Gulp APIs, glob patterns and a guide on setting up a task, so that you would have a good hint while creating your own tasks with Gulp.
If you still do routine tasks by yourself, Gulp will probably change it. Let’s get started!
What should you know to take the course?
Javascript basics, HTML basics, CSS basics
What's inside?
Installation of Gulp dependencies
Installation of Gulp
Basic Gulp tasks
Project structure
SASS preprocessing
LESS preprocessing
Watch for file changes
Styles source maps (SASS/LESS)
CSS minification
Javascript minification
HTML minification
javascript concatenation
File renaming
Images optimizations
Images caching
HTML templating language (Kit)
CSS Autoprefixer
Javascript Babel transpiling
Project archiving
Complete Gulp configuration file with comments that you can use in your own projects
Who is teaching you?
My name is Sergey Shtyrlov. I'm a frontend developer. I've been working in this sphere for almost 7 years and continue doing it today. Gulp is essential for web development and you will sure benefit from it!