Step by step explain how to use gulp for automatic construction

After the project is developed and launched, a series of preparations need to be made, including but not limited to: Compress CSS, JavaScript and HTML filesIf SASS or LESS is used, it needs to be compiled, otherwise the whole project cannot runSimilarly, if there is a version requirement for JavaScript, you also need to use babel to transl ...

Added by arya6000 on Sat, 29 Jan 2022 01:00:10 +0200

[front end Engineering] II: use, encapsulation and release of automated construction tools Grunt and Gulp

Automated construction When developing web applications, there are often some commands that need to be repeated in the development stage NPM Script is the easiest way to automate the build tool flow "build": "sass scss/main.scss css/style.css --watch", The preserve hook mechanism of npm script, which executes yarn build before executing yar ...

Added by OU_Student on Sun, 09 Jan 2022 16:12:44 +0200