gulpfile.js (browsersync, sass, js, imagemin and html)
A basic gulpfile.js boilerplate.
The code in gulpfile.js
gets all the source folders and files from the src
folder
and spits out a build
folder.
Includes:
- Copying all html file from
src
folder tobuild
folder. - Compiling, autoprefixing and minifying sass (scss).
- Uglifying js
- Optimizing images
- Browsersync
Run default gulp
command on terminal.