In most cases, a website or a JavaScript application contains many CSS files. And the browser must fetch those files from the server to completely load the page. Downloading more files takes more time as the browser has to send more HTTP requests.
Additionally, all CSS files are render-blocking, which means that the more CSS files a page depends on, the more time it takes to render the page.
In this article, I’m going to show you how to combine all CSS files into a single file using Gulp and the Gulp Concat plugin. I assume you have installed Gulp…
In this article, I’m going to show you how to install Gulp JS version 4 and create your first Gulp task to start using it. I assume you have installed Node.js and NPM on your machine cause we will need them to install and run Gulp JS.
Suppose you want to check Node.js and NPM installation. You can run which node
and which npm
from your Terminal. And the Terminal will tell you the path to the node and npm executables if installed.
Pipenv is a tool that creates and manages a virtual environment for your projects and adds or removes packages from your Pipfile as you install or uninstall them. It also generates the Pipfile.lock, which we use to produce deterministic builds and create a snapshot of our working environment. Pipenv provides us with an easy method to set up a working environment. You no longer need to use pip and virtualenv separately. They work together.
Before we start using Pipenv, we will need to install it. I assume you have installed Python…
In Node.js, whenever you make any changes in your application source code, you would have to manually restart the application process for those changes to take effect. You can eliminate this extra step by using Nodemon to restart the process automatically.
Table of Contents
- What is Nodemon?
- Install Nodemon
— Install Nodemon globally
— Install Nodemon locally
- Use Nodemon with Node.js
- Configure Nodemon
- GitHub Repo
So, what is Nodemon? Nodemon is a command-line interface (CLI) utility. That will watch the file system for any file changes in the directory you ran Nodemon in. And…