Skip to content
Scss, Js, Image, Browser sync (live), notify
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.gitignore
LICENSE
gulpfile.js
gulpfile_forWordpress.js
gulpfile_otherSyntax.js
index.html
package-lock.json
package.json
readme.md

readme.md

Gulp 4

Compilation scss to css and minify css/js with Gulp 4.

Install

init

npm init -y npm install

Local :

install local (only this project) - NOT USE IT, because "npm install" it's enough

npm install gulp gulp-babel gulp-clean-css gulp-concat gulp-imagemin gulp-notify gulp-rename gulp-sass gulp-sourcemaps gulp-uglify -D

exec local (ex: images is my function)

npx gulp images

exec local (ex: all)

npx gulp

exec local (watch)

npx gulp watch

Global :

install global (for all)

npm install gulp-cli -g

exec global (ex: images is my function)

gulp images

create gulp file (all code is here)

gulpfile.js

You can’t perform that action at this time.