Run Gulp as You Open a VS Code Project
When I open my local project for this very site, there is a 100% chance that I need to run this command before anything else: gulp
. I set that up fresh less than a year ago so I’m on …
When I open my local project for this very site, there is a 100% chance that I need to run this command before anything else: gulp
. I set that up fresh less than a year ago so I’m on …
Seemingly out of the blue, the Gulp processing I had set up for this site started to have a race condition. I’d run my watch
command, change some CSS, and the processing would sometimes leave behind some extra files that …
You should for sure be setting far-out cache headers on your assets like CSS and JavaScript (and images and fonts and whatever else). That tells the browser “hang on to this file basically forever.” That way, when navigating from page …
Ben Frain just made some notes about the switch from Gulp to Parcel, a relatively new “web application bundler” which, from a quick look at things, is similar to webpack but without all the hassle of setting things up. …
This is the second post in a two-part series about creating a Gulp workflow for WordPress theme development. Part one focused on the initial installation, setup, and organization of Gulp in a WordPress theme project. This post goes deep into …
This is the first part of a two-part series on creating a Gulp workflow for WordPress theme development. This first part covers a lot of ground for the initial setup, including Gulp installation and an outline of the tasks we …
When you’re putting together a build process for a site, it’s so dang useful to look at other people’s processes. I ran across Andrew Welch’s “An Annotated webpack 4 Config for Frontend Web Development” the other day and was glad …
Webpack is so hot right now! Webpack is great when it comes to module bundling and working with frameworks like Vue or React, but it is a bit more awkward when handling static assets (like CSS). You might be more …
While support for ES6 is always increasing, we can’t always assume that users will be using a browser that supports all its features. So, in order to utilize ES6 features now and make sure we won’t run into cross-browser compatibility …
Gulp is a tool that helps you out with several tasks when it comes to web development. It’s often used to do front end tasks like: