Chapter 3: An Introduction to Gulp.js
by Craig Buckler
Developers spend precious little time coding. Even if we ignore irritating meetings, much of the job involves basic tasks which can sap your working day:
- generating HTML from templates and content files
- compressing new and modified images
- compiling Sass to CSS code
- removing
console
anddebugger
statements from scripts - transpiling ES6 to cross-browser–compatible ES5 code
- code linting and validation
- concatenating and minifying CSS and JavaScript files
- deploying files to development, staging and production servers.
Tasks must be repeated every time you make a change. You may start with good intentions, but the most infallible developer will forget to compress an image or two. Over time, pre-production ...
Get Modern JavaScript Tools & Skills now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.