This page is about the build operation for the web.
A build pipeline
The pipeline:
The below flow shows you a typic build pipeline.
concatenation means simply merging multiple files together, i.e. copying and pasting several files into one.
The reason is that it’s more efficient to fetch one file, rather than lots of small files.
The term minification or compression in the context of CSS, Javascript means removing all unnecessary characters, such as spaces, new lines, comments without affecting the functionality of the source code.
Minification is the process of taking a file and making the overall number of characters less, without changing how the code works. The goal is to make the file size smaller.
Example:
Meta data is removed from the image as it’s not needed by the browser to display the image
Example: information about the camera used to take the photo.
Live reload reloads your page automatically while updating your code. See Web - (Hot|Live) (Edit|Reload) - Auto File Sync
The below listed tools are node orchestrator tools that permits to create a build pipeline.
See the list at bundler list
Task runner/orchestrator such as Gulp and Grunt can also perform most of the bundle operation through plugin.
They have also tasks for bundler.
Why ? because they don't get their files from dependency graph but from the file system and therefore generally don't support directly dependency graph task such as:
All monorepo framework because they wraps a bundler.
How to develop, publish and use a javascript library ?